aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/option.h
diff options
context:
space:
mode:
authorChunyan Liu <cyliu@suse.com>2014-06-05 17:20:49 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-06-16 17:23:20 +0800
commita1097a2614c3ff772e450454417bb1b51d6a01bc (patch)
tree3a2b04829ebb0dec9c39e9374a4f790e6b25c439 /include/qemu/option.h
parent8559e45e51edd22dd48d54cce8b0521e6339f3e9 (diff)
downloadqemu-a1097a2614c3ff772e450454417bb1b51d6a01bc.zip
qemu-a1097a2614c3ff772e450454417bb1b51d6a01bc.tar.gz
qemu-a1097a2614c3ff772e450454417bb1b51d6a01bc.tar.bz2
QemuOpts: add qemu_opts_append to replace append_option_parameters
For later merge .create_opts of drv and proto_drv in qemu-img commands. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Leandro Dorileo <l@dorileo.org> Signed-off-by: Chunyan Liu <cyliu@suse.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/qemu/option.h')
-rw-r--r--include/qemu/option.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qemu/option.h b/include/qemu/option.h
index e98e8ef..44d9961 100644
--- a/include/qemu/option.h
+++ b/include/qemu/option.h
@@ -176,5 +176,10 @@ void qemu_opts_print_help(QemuOptsList *list);
void qemu_opts_free(QemuOptsList *list);
QEMUOptionParameter *opts_to_params(QemuOpts *opts);
QemuOptsList *params_to_opts(QEMUOptionParameter *list);
+/* FIXME: will remove QEMUOptionParameter after all drivers switch to QemuOpts.
+ */
+QemuOptsList *qemu_opts_append(QemuOptsList *dst,
+ QemuOptsList *list,
+ QEMUOptionParameter *param);
#endif