Re: [Qemu-devel] [block PATCH v2 0/3] AHCI device fixes

2014-11-13 Thread Stefan Hajnoczi
On Fri, Oct 31, 2014 at 04:03:36PM -0400, John Snow wrote: > This is a v2 patch series that collects patches 3, 4 and 5 > from the v1 series that was only partially merged. > > This series, as a subset, generally cleans up the usage and > handling of the scatter-gather list implementation in QEMU

Re: [Qemu-devel] [block PATCH v2 0/3] AHCI device fixes

2014-11-03 Thread John Snow
On 11/03/2014 07:35 AM, Paolo Bonzini wrote: On 31/10/2014 21:03, John Snow wrote: - Adjust the prepare_buf() callback to return, simply, the number of bytes it was able to prepare, or -1 on error. This resolves an ambiguity around the nature of its return code meaning "no sectors" or

Re: [Qemu-devel] [block PATCH v2 0/3] AHCI device fixes

2014-11-03 Thread Paolo Bonzini
On 31/10/2014 21:03, John Snow wrote: > - Adjust the prepare_buf() callback to return, simply, the number > of bytes it was able to prepare, or -1 on error. This resolves > an ambiguity around the nature of its return code meaning > "no sectors" or "no bytes" which led to bad error pathways.

[Qemu-devel] [block PATCH v2 0/3] AHCI device fixes

2014-10-31 Thread John Snow
This is a v2 patch series that collects patches 3, 4 and 5 from the v1 series that was only partially merged. This series, as a subset, generally cleans up the usage and handling of the scatter-gather list implementation in QEMU that interacts with the PRDT (Physical Region Descriptor Table) in AH