[PATCH v2 29/31] qom: Add user_creatable_parse_str()

Eric Blake eblake at redhat.com
Fri Feb 26 22:24:28 UTC 2021


On 2/24/21 7:52 AM, Kevin Wolf wrote:
> The system emulator has a more complicated way of handling command line
> options in that it reorders options before it processes them. This means
> that parsing object options and creating the object happen at two
> different points. Split the parsing part into a separate function that
> can be reused by the system emulator command line.
> 
> Signed-off-by: Kevin Wolf <kwolf at redhat.com>
> ---
>  include/qom/object_interfaces.h | 15 +++++++++++++++
>  qom/object_interfaces.c         | 20 ++++++++++++++------
>  2 files changed, 29 insertions(+), 6 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