Re: [libvirt] [PATCH 10/13] qemu: Update state of block job to READY only if it actually is ready

2015-07-20 Thread Eric Blake
On 07/15/2015 10:33 AM, Peter Krempa wrote: > Few parts of the code looked at the current progress of and assumed that > a two phase blockjob is in the _READY state as soon as the progress > reached 100% (info.cur == info.end). In current versions of qemu this > assumption is invalid and qemu expos

[libvirt] [PATCH 10/13] qemu: Update state of block job to READY only if it actually is ready

2015-07-15 Thread Peter Krempa
Few parts of the code looked at the current progress of and assumed that a two phase blockjob is in the _READY state as soon as the progress reached 100% (info.cur == info.end). In current versions of qemu this assumption is invalid and qemu exposes a new flag 'ready' in the query-block-jobs output