Re: [Qemu-devel] [PATCH 6/8] io: change the QIOTask callback signature

2017-01-06 Thread Daniel P. Berrange
On Thu, Jan 05, 2017 at 03:47:57PM -0600, Eric Blake wrote: > On 01/05/2017 10:03 AM, Daniel P. Berrange wrote: > > Currently the QIOTaskFunc signature takes an Object * for > > the source, and an Error * for any error. We also need to > > be able to provide a result pointer. Rather than continue >

Re: [Qemu-devel] [PATCH 6/8] io: change the QIOTask callback signature

2017-01-05 Thread Eric Blake
On 01/05/2017 10:03 AM, Daniel P. Berrange wrote: > Currently the QIOTaskFunc signature takes an Object * for > the source, and an Error * for any error. We also need to > be able to provide a result pointer. Rather than continue > to add parameters to QIOTaskFunc, remove the existing > ones and si

[Qemu-devel] [PATCH 6/8] io: change the QIOTask callback signature

2017-01-05 Thread Daniel P. Berrange
Currently the QIOTaskFunc signature takes an Object * for the source, and an Error * for any error. We also need to be able to provide a result pointer. Rather than continue to add parameters to QIOTaskFunc, remove the existing ones and simply pass the QIOTask object instead. This has methods to ac