Re: [Xen-devel] [PATCH] xen-block: scale sector based quantities correctly

2019-03-21 Thread Paul Durrant
> -Original Message- > From: Anthony PERARD [mailto:anthony.per...@citrix.com] > Sent: 21 March 2019 15:00 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; qemu-bl...@nongnu.org; > qemu-de...@nongnu.org; Stefan Hajnoczi > ; Stefano Stabellini ; Kevin > Wolf ; Max > Reitz > Subje

Re: [Xen-devel] [PATCH] xen-block: scale sector based quantities correctly

2019-03-21 Thread Anthony PERARD
On Wed, Mar 20, 2019 at 04:26:32PM +, Paul Durrant wrote: > The mail thread at [1] clarifies that the Xen blkif protocol requires that > sector based quantities should be interpreted strictly as multiples of > 512 bytes. This patch modifies the xen-block code accordingly. > > [1] https://lists

[Xen-devel] [PATCH] xen-block: scale sector based quantities correctly

2019-03-20 Thread Paul Durrant
The mail thread at [1] clarifies that the Xen blkif protocol requires that sector based quantities should be interpreted strictly as multiples of 512 bytes. This patch modifies the xen-block code accordingly. [1] https://lists.xenproject.org/archives/html/xen-devel/2019-03/msg01600.html Signed-of