qemu-storage-daemon: remember to add qemu_object_opts
commit5b99bdea842d4190d2471769903cdcc1621eb493
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 19 Jun 2020 10:11:31 +0000 (19 11:11 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 3 Jul 2020 07:37:03 +0000 (3 09:37 +0200)
tree36a9f46b2f0d2f621d54226be6f506f6c7ec791c
parentedafc70c0c8510862f2f213a3acf7067113bcd08
qemu-storage-daemon: remember to add qemu_object_opts

The --object option is supported by qemu-storage-daemon but the
qemu_object_opts QemuOptsList wasn't being added. As a result calls to
qemu_find_opts("object") failed with "There is no option group
'object'".

This patch fixes the object-del QMP command.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200619101132.2401756-2-stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-storage-daemon.c