Skip to content

Commit 5b99bde

Browse files
stefanhaRHkevmw
authored andcommitted
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 <[email protected]> Message-Id: <[email protected]> Reviewed-by: Eric Blake <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
1 parent edafc70 commit 5b99bde

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qemu-storage-daemon.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ int main(int argc, char *argv[])
316316

317317
module_call_init(MODULE_INIT_QOM);
318318
module_call_init(MODULE_INIT_TRACE);
319+
qemu_add_opts(&qemu_object_opts);
319320
qemu_add_opts(&qemu_trace_opts);
320321
qcrypto_init(&error_fatal);
321322
bdrv_init();

0 commit comments

Comments
 (0)