[Top][All Lists]

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

Re: [Qemu-devel] [Qemu-block] [PATCH v1 07/15] block: add flag to indica

From: Kevin Wolf
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v1 07/15] block: add flag to indicate that no I/O will be performed
Date: Wed, 13 Jan 2016 18:44:41 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 12.01.2016 um 19:56 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
> Signed-off-by: Daniel P. Berrange <address@hidden>

Would it be worth adding assertions to the block layer I/O functions
(most importantly, bdrv_aligned_preadv/pwritev) that this flag isn't


reply via email to

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