qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH v5 1/2] blockdev: move BDRV_O_NO_BACKING option


From: Eric Blake
Subject: Re: [Qemu-block] [PATCH v5 1/2] blockdev: move BDRV_O_NO_BACKING option forward
Date: Tue, 18 Jul 2017 07:27:14 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/17/2017 07:34 PM, John Snow wrote:
> For both external_snapshot_prepare and qmp_drive_mirror, we eventually
> append the option BDRV_O_NO_BACKING. However, we generally do so after
> we create the image.
> 
> To accommodate image creation wanting to verify that a backing file
> exists or not, add this option prior to create to override checking
> the existence of the backing file. This prevents QEMU from trying to
> re-open a backing file that's already in use (thanks to qcow2 locking).
> 
> Signed-off-by: John Snow <address@hidden>
> ---
>  blockdev.c | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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