Re: [Qemu-devel] [PATCH v2 08/17] block: add flag to indicate that no I/O will be performed

2016-02-05 Thread Eric Blake
On 01/20/2016 10:38 AM, Daniel P. Berrange wrote: > 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 >

[Qemu-devel] [PATCH v2 08/17] block: add flag to indicate that no I/O will be performed

2016-01-20 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 Th