mirror of
https://github.com/mii443/qemu.git
synced 2025-08-30 10:59:53 +00:00
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>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
8559e45e51
commit
a1097a2614
@ -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
|
||||
|
Reference in New Issue
Block a user