Re: [libvirt] [PATCH 11/13] virsh: Refactor block job waiting in cmdBlockPull

2015-07-20 Thread Eric Blake
On 07/15/2015 10:34 AM, Peter Krempa wrote: > Introduce helper function that will provide logic for waiting for block > job completion so the 3 open coded places can be unified and improved. > > This patch introduces the whole logic and uses it to fix > cmdBlockJobPull. The vshBlockJobWait funtion

Re: [libvirt] [PATCH 11/13] virsh: Refactor block job waiting in cmdBlockPull

2015-07-20 Thread John Ferlan
On 07/15/2015 12:34 PM, Peter Krempa wrote: > Introduce helper function that will provide logic for waiting for block > job completion so the 3 open coded places can be unified and improved. > > This patch introduces the whole logic and uses it to fix > cmdBlockJobPull. The vshBlockJobWait funti

[libvirt] [PATCH 11/13] virsh: Refactor block job waiting in cmdBlockPull

2015-07-15 Thread Peter Krempa
Introduce helper function that will provide logic for waiting for block job completion so the 3 open coded places can be unified and improved. This patch introduces the whole logic and uses it to fix cmdBlockJobPull. The vshBlockJobWait funtion provides common logic for block job waiting that shou