Re: [libvirt] [PATCH v3 4/4] virsh: improve waiting for block job readiness

2016-02-01 Thread Peter Krempa
On Wed, Jan 27, 2016 at 13:24:54 +1100, Michael Chapman wrote: > After a block job hits 100%, we only need to apply a timeout waiting for > a block job event if exactly one of the BLOCK_JOB or BLOCK_JOB_2 > callbacks were able to be registered. > > If neither callback could be registered, there's

[libvirt] [PATCH v3 4/4] virsh: improve waiting for block job readiness

2016-01-26 Thread Michael Chapman
After a block job hits 100%, we only need to apply a timeout waiting for a block job event if exactly one of the BLOCK_JOB or BLOCK_JOB_2 callbacks were able to be registered. If neither callback could be registered, there's clearly no need for a timeout. If both callbacks were registered, then