Re: [libvirt] [PATCH v2 04/22] qemu: Use domain condition for synchronous block jobs

2015-06-10 Thread John Ferlan
On 06/02/2015 08:34 AM, Jiri Denemark wrote: By switching block jobs to use domain conditions, we can drop some pretty complicated code in NBD storage migration. Moreover, we are getting ready for migration events (to replace our 50ms polling on query-migrate). The ultimate goal is to have a

Re: [libvirt] [PATCH v2 04/22] qemu: Use domain condition for synchronous block jobs

2015-06-10 Thread Jiri Denemark
On Wed, Jun 10, 2015 at 07:56:32 -0400, John Ferlan wrote: On 06/02/2015 08:34 AM, Jiri Denemark wrote: By switching block jobs to use domain conditions, we can drop some pretty complicated code in NBD storage migration. Moreover, we are getting ready for migration events (to replace

Re: [libvirt] [PATCH v2 04/22] qemu: Use domain condition for synchronous block jobs

2015-06-09 Thread Peter Krempa
On Tue, Jun 02, 2015 at 14:34:09 +0200, Jiri Denemark wrote: By switching block jobs to use domain conditions, we can drop some pretty complicated code in NBD storage migration. Moreover, we are getting ready for migration events (to replace our 50ms polling on query-migrate). The ultimate

[libvirt] [PATCH v2 04/22] qemu: Use domain condition for synchronous block jobs

2015-06-02 Thread Jiri Denemark
By switching block jobs to use domain conditions, we can drop some pretty complicated code in NBD storage migration. Moreover, we are getting ready for migration events (to replace our 50ms polling on query-migrate). The ultimate goal is to have a single loop waiting (virDomainObjWait) for any