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 <kw...@redhat.com>
> ---
>  include/qemu/option.h |  1 +
>  util/qemu-option.c    | 34 ++++++++++++++++++++++++++++++++++
>  2 files changed, 35 insertions(+)

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
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