[PATCH v2 24/31] qemu-io: Use user_creatable_process_cmdline() for --object
Eric Blake
eblake at redhat.com
Fri Feb 26 21:27:57 UTC 2021
On 2/24/21 7:52 AM, Kevin Wolf wrote:
> This switches qemu-io from a QemuOpts-based parser for --object to
> user_creatable_process_cmdline() which uses a keyval parser and enforces
> the QAPI schema.
>
> Apart from being a cleanup, this makes non-scalar properties accessible.
>
> Signed-off-by: Kevin Wolf <kwolf at redhat.com>
> ---
> qemu-io.c | 33 +++------------------------------
> 1 file changed, 3 insertions(+), 30 deletions(-)
>
Reviewed-by: Eric Blake <eblake at redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
More information about the libvir-list
mailing list