Re: [Qemu-devel] [PATCH] scsi-disk: fix reads from scsi-disk devices

2016-06-06 Thread Benjamin Herrenschmidt
On Fri, 2016-06-03 at 06:17 +0100, Mark Cave-Ayland wrote: > Commit fcaafb1001b9c42817714dd3b2aadcfdb997b53d accidentally broke > reads from > scsi-disk devices when being updated from its original form to use > the new > byte-based block functions. Add the extra missing sector to offset > conversi

Re: [Qemu-devel] [PATCH] scsi-disk: fix reads from scsi-disk devices

2016-06-06 Thread Peter Maydell
On 3 June 2016 at 13:42, Eric Blake wrote: > On 06/02/2016 11:17 PM, Mark Cave-Ayland wrote: >> Commit fcaafb1001b9c42817714dd3b2aadcfdb997b53d accidentally broke reads from >> scsi-disk devices when being updated from its original form to use the new >> byte-based block functions. Add the extra m

Re: [Qemu-devel] [PATCH] scsi-disk: fix reads from scsi-disk devices

2016-06-03 Thread Eric Blake
On 06/02/2016 11:17 PM, Mark Cave-Ayland wrote: > Commit fcaafb1001b9c42817714dd3b2aadcfdb997b53d accidentally broke reads from > scsi-disk devices when being updated from its original form to use the new > byte-based block functions. Add the extra missing sector to offset conversion > in order to

Re: [Qemu-devel] [PATCH] scsi-disk: fix reads from scsi-disk devices

2016-06-02 Thread xiaoqiang zhao
在 2016年06月03日 13:17, Mark Cave-Ayland 写道: Commit fcaafb1001b9c42817714dd3b2aadcfdb997b53d accidentally broke reads from scsi-disk devices when being updated from its original form to use the new byte-based block functions. Add the extra missing sector to offset conversion in order to restore re

[Qemu-devel] [PATCH] scsi-disk: fix reads from scsi-disk devices

2016-06-02 Thread Mark Cave-Ayland
Commit fcaafb1001b9c42817714dd3b2aadcfdb997b53d accidentally broke reads from scsi-disk devices when being updated from its original form to use the new byte-based block functions. Add the extra missing sector to offset conversion in order to restore read functionality. Signed-off-by: Mark Cave-Ay