Allow writing all the data compressed through the filter driver. The written data will be aligned by the cluster size. Based on the QEMU current implementation, that data can be written to unallocated clusters only. May be used for a backup job. Suggested-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 1575288906-551879-2-git-send-email-andrey.shinkevich@virtuozzo.com [mreitz: Replace NULL bdrv_get_format_name() by "(no format)"] Signed-off-by: Max Reitz <mreitz@redhat.com>
71 lines
2.5 KiB
Makefile
71 lines
2.5 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-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 += stream.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
|
|
parallels.o-cflags := $(LIBXML2_CFLAGS)
|
|
parallels.o-libs := $(LIBXML2_LIBS)
|