qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 09/34] block: Add BlockDriverState.inherits_from


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 09/34] block: Add BlockDriverState.inherits_from
Date: Fri, 08 May 2015 17:39:03 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 05/08/2015 11:21 AM, Kevin Wolf wrote:
> Currently, the block layer assumes that any block node can have only one
> parent, and if it has a parent, that it inherits some options/flags from
> this parent.
> 
> This is not true any more: With references used in block device
> creation, a single node can be used by multiple parents, or it can be
> created separately and not inherit flags from any parent.
> 
> To handle reopens correctly, a node must know from which parent it
> inherited options. This patch adds the information to BlockDriverState.
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  block.c                   | 17 +++++++++++++++++
>  include/block/block_int.h |  4 ++++
>  2 files changed, 21 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]