qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 5/7] qemu-option: Add qemu_opts_absorb_qdict()


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 5/7] qemu-option: Add qemu_opts_absorb_qdict()
Date: Fri, 01 Mar 2013 15:14:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

On 03/01/2013 01:13 PM, Kevin Wolf wrote:
> This adds a function that adds all entries of a QDict to a QemuOpts if
> the keys are known, and leaves only the rest in the QDict.
> 
> This way a single QDict of -drive options can be processed in multiple
> places (generic block layer, block driver, backing file block driver,
> etc.), where each part picks the options it knows. If at the end of the
> process the QDict isn't empty, the user specified an invalid option.
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  include/qemu/option.h |  1 +
>  util/qemu-option.c    | 34 ++++++++++++++++++++++++++++++++++
>  2 files changed, 35 insertions(+)

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]