a2dde2f221
These days device-hotplug.c only contains the hmp_drive_add In the next patch, rest of hmp_drive* functions will be moved there. Also add block-hmp-cmds.h to contain prototypes of these functions License for block-hmp-cmds.h since it contains the code moved from sysemu.h which lacks license and thus according to LICENSE is under GPLv2+ Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200308092440.23564-4-mlevitsk@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
77 lines
2.7 KiB
Makefile
77 lines
2.7 KiB
Makefile
block-obj-y += raw-format.o vmdk.o vpc.o
|
|
block-obj-$(CONFIG_QCOW1) += qcow.o
|
|
block-obj-$(CONFIG_VDI) += vdi.o
|
|
block-obj-$(CONFIG_CLOOP) += cloop.o
|
|
block-obj-$(CONFIG_BOCHS) += bochs.o
|
|
block-obj-$(CONFIG_VVFAT) += vvfat.o
|
|
block-obj-$(CONFIG_DMG) += dmg.o
|
|
|
|
block-obj-y += qcow2.o qcow2-refcount.o qcow2-cluster.o qcow2-snapshot.o qcow2-cache.o qcow2-bitmap.o qcow2-threads.o
|
|
block-obj-$(CONFIG_QED) += qed.o qed-l2-cache.o qed-table.o qed-cluster.o
|
|
block-obj-$(CONFIG_QED) += qed-check.o
|
|
block-obj-y += vhdx.o vhdx-endian.o vhdx-log.o
|
|
block-obj-y += quorum.o
|
|
block-obj-y += blkdebug.o blkverify.o blkreplay.o
|
|
block-obj-$(CONFIG_PARALLELS) += parallels.o
|
|
block-obj-y += blklogwrites.o
|
|
block-obj-y += block-backend.o snapshot.o qapi.o
|
|
block-obj-$(CONFIG_WIN32) += file-win32.o win32-aio.o
|
|
block-obj-$(CONFIG_POSIX) += file-posix.o
|
|
block-obj-$(CONFIG_LINUX_AIO) += linux-aio.o
|
|
block-obj-$(CONFIG_LINUX_IO_URING) += io_uring.o
|
|
block-obj-y += null.o mirror.o commit.o io.o create.o
|
|
block-obj-y += throttle-groups.o
|
|
block-obj-$(CONFIG_LINUX) += nvme.o
|
|
|
|
block-obj-y += nbd.o
|
|
block-obj-$(CONFIG_SHEEPDOG) += sheepdog.o
|
|
block-obj-$(CONFIG_LIBISCSI) += iscsi.o
|
|
block-obj-$(if $(CONFIG_LIBISCSI),y,n) += iscsi-opts.o
|
|
block-obj-$(CONFIG_LIBNFS) += nfs.o
|
|
block-obj-$(CONFIG_CURL) += curl.o
|
|
block-obj-$(CONFIG_RBD) += rbd.o
|
|
block-obj-$(CONFIG_GLUSTERFS) += gluster.o
|
|
block-obj-$(CONFIG_VXHS) += vxhs.o
|
|
block-obj-$(CONFIG_LIBSSH) += ssh.o
|
|
block-obj-y += accounting.o dirty-bitmap.o
|
|
block-obj-y += write-threshold.o
|
|
block-obj-y += backup.o
|
|
block-obj-$(CONFIG_REPLICATION) += replication.o
|
|
block-obj-y += throttle.o copy-on-read.o
|
|
block-obj-y += block-copy.o
|
|
|
|
block-obj-y += crypto.o
|
|
|
|
block-obj-y += aio_task.o
|
|
block-obj-y += backup-top.o
|
|
block-obj-y += filter-compress.o
|
|
common-obj-y += monitor/
|
|
|
|
block-obj-y += stream.o
|
|
|
|
common-obj-y += qapi-sysemu.o
|
|
|
|
nfs.o-libs := $(LIBNFS_LIBS)
|
|
iscsi.o-cflags := $(LIBISCSI_CFLAGS)
|
|
iscsi.o-libs := $(LIBISCSI_LIBS)
|
|
curl.o-cflags := $(CURL_CFLAGS)
|
|
curl.o-libs := $(CURL_LIBS)
|
|
rbd.o-cflags := $(RBD_CFLAGS)
|
|
rbd.o-libs := $(RBD_LIBS)
|
|
gluster.o-cflags := $(GLUSTERFS_CFLAGS)
|
|
gluster.o-libs := $(GLUSTERFS_LIBS)
|
|
vxhs.o-libs := $(VXHS_LIBS)
|
|
ssh.o-cflags := $(LIBSSH_CFLAGS)
|
|
ssh.o-libs := $(LIBSSH_LIBS)
|
|
block-obj-dmg-bz2-$(CONFIG_BZIP2) += dmg-bz2.o
|
|
block-obj-$(if $(CONFIG_DMG),m,n) += $(block-obj-dmg-bz2-y)
|
|
dmg-bz2.o-libs := $(BZIP2_LIBS)
|
|
block-obj-$(if $(CONFIG_LZFSE),m,n) += dmg-lzfse.o
|
|
dmg-lzfse.o-libs := $(LZFSE_LIBS)
|
|
qcow.o-libs := -lz
|
|
linux-aio.o-libs := -laio
|
|
io_uring.o-cflags := $(LINUX_IO_URING_CFLAGS)
|
|
io_uring.o-libs := $(LINUX_IO_URING_LIBS)
|
|
parallels.o-cflags := $(LIBXML2_CFLAGS)
|
|
parallels.o-libs := $(LIBXML2_LIBS)
|