]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-storage-daemon: Add --blockdev option
authorKevin Wolf <kwolf@redhat.com>
Mon, 24 Feb 2020 14:29:54 +0000 (15:29 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 6 Mar 2020 16:15:38 +0000 (17:15 +0100)
commit14837c6493d42f5f85d910935654725217a5770b
tree298530ab7af0c6c6002c00525262c5e58640a329
parent5a16818b45cbe2a35d58f5314209b09b753994d8
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>
Makefile
Makefile.objs
block/Makefile.objs
qemu-storage-daemon.c