summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChunyan Liu2014-06-05 11:20:47 +0200
committerStefan Hajnoczi2014-06-16 11:23:20 +0200
commit504189a96fdee5916073858f0e60f33e0275454a (patch)
treef7713e64cafe4a089cdfad7facb7c0f76a74d4c8 /include
parentQemuOpts: add qemu_opt_get_*_del functions for replace work (diff)
downloadqemu-504189a96fdee5916073858f0e60f33e0275454a.tar.gz
qemu-504189a96fdee5916073858f0e60f33e0275454a.tar.xz
qemu-504189a96fdee5916073858f0e60f33e0275454a.zip
QemuOpts: add qemu_opts_print_help to replace print_option_help
print_option_help takes QEMUOptionParameter as parameter, add qemu_opts_print_help to take QemuOptsList as parameter for later replace work. Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Leandro Dorileo <l@dorileo.org> Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Signed-off-by: Chunyan Liu <cyliu@suse.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/option.h b/include/qemu/option.h
index 6653e4300b..fbf5dc2275 100644
--- a/include/qemu/option.h
+++ b/include/qemu/option.h
@@ -166,5 +166,6 @@ typedef int (*qemu_opts_loopfunc)(QemuOpts *opts, void *opaque);
void qemu_opts_print(QemuOpts *opts);
int qemu_opts_foreach(QemuOptsList *list, qemu_opts_loopfunc func, void *opaque,
int abort_on_failure);
+void qemu_opts_print_help(QemuOptsList *list);
#endif