Re: [libvirt] [PATCH] conf: refact virDomainHasDiskMirror and rename it to virDomainHasBlockjob

2015-03-26 Thread Shanzhi Yu
- Original Message - | From: "Peter Krempa" | To: "Shanzhi Yu" | Cc: libvir-list@redhat.com | Sent: Wednesday, March 25, 2015 11:24:21 PM | Subject: Re: [libvirt] [PATCH] conf: refact virDomainHasDiskMirror and rename | it to virDomainHasBlockjob | On Tue, Mar

Re: [libvirt] [PATCH] conf: refact virDomainHasDiskMirror and rename it to virDomainHasBlockjob

2015-03-25 Thread Peter Krempa
On Tue, Mar 24, 2015 at 18:08:00 +0800, Shanzhi Yu wrote: > Create external snapshot or migrate a vm when there is a blockpull > job running should be forbidden by libvirt, otherwise qemu try to > create external snapshot and failed with error "unable to execute > QEMU command 'transaction': Device

[libvirt] [PATCH] conf: refact virDomainHasDiskMirror and rename it to virDomainHasBlockjob

2015-03-24 Thread Shanzhi Yu
Create external snapshot or migrate a vm when there is a blockpull job running should be forbidden by libvirt, otherwise qemu try to create external snapshot and failed with error "unable to execute QEMU command 'transaction': Device 'drive-virtio-disk0' is busy: block device is in use by block job