Re: [Qemu-devel] [PATCH V6 22/29] qapi event: convert other BLOCK_JOB events

2014-06-16 Thread Eric Blake
On 06/05/2014 06:22 AM, Wenchao Xia wrote: > Since BLOCK_JOB_COMPLETED, BLOCK_JOB_CANCELLED, BLOCK_JOB_READY are > related, converts them in one patch. The block_job_event_* functions s/converts/convert/ > are used to keep encapsulation of BlockJob structure. > > Signed-off-by: Wenchao Xia > --

[Qemu-devel] [PATCH V6 22/29] qapi event: convert other BLOCK_JOB events

2014-06-05 Thread Wenchao Xia
Since BLOCK_JOB_COMPLETED, BLOCK_JOB_CANCELLED, BLOCK_JOB_READY are related, converts them in one patch. The block_job_event_* functions are used to keep encapsulation of BlockJob structure. Signed-off-by: Wenchao Xia --- block/mirror.c |2 +- blockdev.c | 12 +++---