qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 1/7] block: add flag to indicate that no I/O


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v5 1/7] block: add flag to indicate that no I/O will be performed
Date: Fri, 18 Mar 2016 12:01:59 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 17.03.2016 um 18:51 hat Daniel P. Berrange geschrieben:
> When opening an image it is useful to know whether the caller
> intends to perform I/O on the image or not. In the case of
> encrypted images this will allow the block driver to avoid
> having to prompt for decryption keys when we merely want to
> query header metadata about the image. eg qemu-img info
> 
> This flag is enforced at the top level only, since even if
> we don't want todo I/O on the 'qcow2' file payload, the
> underlying 'file' driver will still need todo I/O to read
> the qcow2 header, for example.
> 
> Reviewed-by: Eric Blake <address@hidden>
> Signed-off-by: Daniel P. Berrange <address@hidden>

Looks good to me, but it needs a rebase because it conflicts with the
latest changes to qemu-img.

Kevin



reply via email to

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