On 06/10/2015 07:46 AM, Kevin Wolf wrote:
> In the block layer functions that determine options for a child block
> device, it's a common pattern to either copy options from the parent's
> options or to set a default string if the option isn't explicitly set
> yet for the child. Provide convenience functions so that it becomes a
> one-liner for each option.
> 
> Signed-off-by: Kevin Wolf <[email protected]>
> Reviewed-by: Max Reitz <[email protected]>
> ---
>  include/qapi/qmp/qdict.h |  3 +++
>  qobject/qdict.c          | 33 +++++++++++++++++++++++++++++++++
>  2 files changed, 36 insertions(+)
> 

Reviewed-by: Eric Blake <[email protected]>

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