aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2020-02-24 15:29:54 +0100
committerKevin Wolf <kwolf@redhat.com>2020-03-06 17:15:38 +0100
commit14837c6493d42f5f85d910935654725217a5770b (patch)
tree298530ab7af0c6c6002c00525262c5e58640a329 /block
parent5a16818b45cbe2a35d58f5314209b09b753994d8 (diff)
downloadqemu-14837c6493d42f5f85d910935654725217a5770b.zip
qemu-14837c6493d42f5f85d910935654725217a5770b.tar.gz
qemu-14837c6493d42f5f85d910935654725217a5770b.tar.bz2
qemu-storage-daemon: Add --blockdev option
This adds a --blockdev option to the storage daemon that works the same as the -blockdev option of the system emulator. In order to be able to link with blockdev.o, we also need to change stream.o from common-obj to block-obj, which is where all other block jobs already are. In contrast to the system emulator, qemu-storage-daemon options will be processed in the order they are given. The user needs to take care to refer to other objects only after defining them. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20200224143008.13362-7-kwolf@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/Makefile.objs b/block/Makefile.objs
index e06cf0b..cb36ae2 100644
--- a/block/Makefile.objs
+++ b/block/Makefile.objs
@@ -46,7 +46,7 @@ block-obj-y += aio_task.o
block-obj-y += backup-top.o
block-obj-y += filter-compress.o
-common-obj-y += stream.o
+block-obj-y += stream.o
common-obj-y += qapi-sysemu.o