diff options
author | Amos Kong <akong@redhat.com> | 2013-11-09 12:15:47 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-11-14 13:09:07 +0100 |
commit | 968854c8a106243eae7a68394ce1cb85dc138837 (patch) | |
tree | 81b295358ac5d9f05554a4a9e650d14b7dcf2fb0 /vl.c | |
parent | d48adddac7d1839c8d734506aba6fd39fb9c3834 (diff) |
qmp: access the local QemuOptsLists for drive option
Currently we have three QemuOptsList (qemu_common_drive_opts,
qemu_legacy_drive_opts, and qemu_drive_opts), only qemu_drive_opts
is added to vm_config_groups[].
This patch changes query-command-line-options to access three local
QemuOptsLists for drive option, and merge the description items
together.
Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2867,6 +2867,9 @@ int main(int argc, char **argv, char **envp) module_call_init(MODULE_INIT_QOM); qemu_add_opts(&qemu_drive_opts); + qemu_add_drive_opts(&qemu_legacy_drive_opts); + qemu_add_drive_opts(&qemu_common_drive_opts); + qemu_add_drive_opts(&qemu_drive_opts); qemu_add_opts(&qemu_chardev_opts); qemu_add_opts(&qemu_device_opts); qemu_add_opts(&qemu_netdev_opts); |