Re: [libvirt] [PATCH 2/2] help to create disk images of non-shared migration

2012-11-14 Thread Eric Blake
On 11/14/2012 01:18 AM, Doug Goldstein wrote: >> +if (VIR_ALLOC_N(mig->disk, def->ndisks) < 0) >> +goto no_memory; >> +if (!driver->qemuImgBinary) { >> +virReportError(VIR_ERR_INTERNAL_ERROR, >> + "%s", _("unable to find kvm-img or qemu-img")); > > Us

Re: [libvirt] [PATCH 2/2] help to create disk images of non-shared migration

2012-11-14 Thread Doug Goldstein
On Tue, Nov 13, 2012 at 9:03 PM, liguang wrote: > try to do non-shared migration without bothering to > create disk images at target by hand. > > consider this situation: > 1. non-shared migration >virsh migrate --copy-storage-all ... > 2. migration fails > 3. create disk images required >

[libvirt] [PATCH 2/2] help to create disk images of non-shared migration

2012-11-13 Thread liguang
try to do non-shared migration without bothering to create disk images at target by hand. consider this situation: 1. non-shared migration virsh migrate --copy-storage-all ... 2. migration fails 3. create disk images required qemu-img create ... 4 migration run smoothly so, try do remove st