Re: [Qemu-devel] [PATCH v3 2/7] crypto: expose encryption sector size in APIs

2017-09-18 Thread Eric Blake
On 09/12/2017 06:28 AM, Daniel P. Berrange wrote: > While current encryption schemes all have a fixed sector size of > 512 bytes, this is not guaranteed to be the case in future. Expose > the sector size in the APIs so the block layer can remove assumptions > about fixed 512 byte sectors. > >

Re: [Qemu-devel] [PATCH v3 2/7] crypto: expose encryption sector size in APIs

2017-09-16 Thread Max Reitz
On 2017-09-12 13:28, Daniel P. Berrange wrote: > While current encryption schemes all have a fixed sector size of > 512 bytes, this is not guaranteed to be the case in future. Expose > the sector size in the APIs so the block layer can remove assumptions > about fixed 512 byte sectors. > >

[Qemu-devel] [PATCH v3 2/7] crypto: expose encryption sector size in APIs

2017-09-12 Thread Daniel P. Berrange
While current encryption schemes all have a fixed sector size of 512 bytes, this is not guaranteed to be the case in future. Expose the sector size in the APIs so the block layer can remove assumptions about fixed 512 byte sectors. Signed-off-by: Daniel P. Berrange ---