Re: [Qemu-block] [PATCH v1 07/15] block: add flag to indicate that no I/O will be performed

2016-01-13 Thread Kevin Wolf
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

Re: [Qemu-block] [PATCH v1 07/15] block: add flag to indicate that no I/O will be performed

2016-01-13 Thread Daniel P. Berrange
On Wed, Jan 13, 2016 at 06:44:41PM +0100, Kevin Wolf wrote: > 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

[Qemu-block] [PATCH v1 07/15] block: add flag to indicate that no I/O will be performed

2016-01-12 Thread Daniel P. Berrange
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