aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorAmos Kong <akong@redhat.com>2013-11-09 12:15:47 +0800
committerKevin Wolf <kwolf@redhat.com>2013-11-14 13:09:07 +0100
commit968854c8a106243eae7a68394ce1cb85dc138837 (patch)
tree81b295358ac5d9f05554a4a9e650d14b7dcf2fb0 /include/qemu
parentd48adddac7d1839c8d734506aba6fd39fb9c3834 (diff)
downloadqemu-968854c8a106243eae7a68394ce1cb85dc138837.zip
qemu-968854c8a106243eae7a68394ce1cb85dc138837.tar.gz
qemu-968854c8a106243eae7a68394ce1cb85dc138837.tar.bz2
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 'include/qemu')
-rw-r--r--include/qemu/config-file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/config-file.h b/include/qemu/config-file.h
index ad4a9e5..508428f 100644
--- a/include/qemu/config-file.h
+++ b/include/qemu/config-file.h
@@ -8,6 +8,7 @@
QemuOptsList *qemu_find_opts(const char *group);
QemuOptsList *qemu_find_opts_err(const char *group, Error **errp);
void qemu_add_opts(QemuOptsList *list);
+void qemu_add_drive_opts(QemuOptsList *list);
int qemu_set_option(const char *str);
int qemu_global_option(const char *str);
void qemu_add_globals(void);