Re: [libvirt] [PATCH RFC] helper of copy-storage-* features

2012-10-22 Thread Eric Blake
On 10/21/2012 08:09 PM, Doug Goldstein wrote: > On Sun, Oct 21, 2012 at 7:53 PM, liguang wrote: >> help to create disk images copy-storage-* required, >> try to do non-shared migration without bothering to >> create disk images at target by hand. >> >> +} else >> +cmd = virCom

Re: [libvirt] [PATCH RFC] helper of copy-storage-* features

2012-10-21 Thread li guang
在 2012-10-21日的 21:09 -0500,Doug Goldstein写道: > On Sun, Oct 21, 2012 at 7:53 PM, liguang wrote: > > help to create disk images copy-storage-* required, > > try to do non-shared migration without bothering to > > create disk images at target by hand. > > > > consider this situation: > > 1. non-share

Re: [libvirt] [PATCH RFC] helper of copy-storage-* features

2012-10-21 Thread Doug Goldstein
On Sun, Oct 21, 2012 at 7:53 PM, liguang wrote: > help to create disk images copy-storage-* required, > 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.

[libvirt] [PATCH RFC] helper of copy-storage-* features

2012-10-21 Thread liguang
help to create disk images copy-storage-* required, 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 creat

Re: [libvirt] [PATCH][RFC] helper of copy-storage-* features

2012-10-18 Thread li guang
在 2012-10-18四的 06:52 -0600,Eric Blake写道: > On 10/17/2012 08:50 PM, Doug Goldstein wrote: > > On Sun, Oct 14, 2012 at 9:48 PM, liguang wrote: > >> help to create disk images copy-storage-* required, > >> try to do non-shared migration without bothering to > >> create disk images at target by hand.

Re: [libvirt] [PATCH][RFC] helper of copy-storage-* features

2012-10-18 Thread Eric Blake
On 10/17/2012 08:50 PM, Doug Goldstein wrote: > On Sun, Oct 14, 2012 at 9:48 PM, liguang wrote: >> help to create disk images copy-storage-* required, >> try to do non-shared migration without bothering to >> create disk images at target by hand. >> >> +char *virDirOfFile(const char *file) Poor

Re: [libvirt] [PATCH][RFC] helper of copy-storage-* features

2012-10-17 Thread li guang
在 2012-10-18四的 01:03 -0500,Doug Goldstein写道: > On Thu, Oct 18, 2012 at 12:47 AM, li guang wrote: > > 在 2012-10-17三的 21:50 -0500,Doug Goldstein写道: > >> On Sun, Oct 14, 2012 at 9:48 PM, liguang wrote: > >> > help to create disk images copy-storage-* required, > >> > try to do non-shared migration w

Re: [libvirt] [PATCH][RFC] helper of copy-storage-* features

2012-10-17 Thread Doug Goldstein
On Thu, Oct 18, 2012 at 12:47 AM, li guang wrote: > 在 2012-10-17三的 21:50 -0500,Doug Goldstein写道: >> On Sun, Oct 14, 2012 at 9:48 PM, liguang wrote: >> > help to create disk images copy-storage-* required, >> > try to do non-shared migration without bothering to >> > create disk images at target b

Re: [libvirt] [PATCH][RFC] helper of copy-storage-* features

2012-10-17 Thread li guang
在 2012-10-17三的 21:50 -0500,Doug Goldstein写道: > On Sun, Oct 14, 2012 at 9:48 PM, liguang wrote: > > help to create disk images copy-storage-* required, > > try to do non-shared migration without bothering to > > create disk images at target by hand. > > > > consider this situation: > > 1. non-share

Re: [libvirt] [PATCH][RFC] helper of copy-storage-* features

2012-10-17 Thread Doug Goldstein
On Sun, Oct 14, 2012 at 9:48 PM, liguang wrote: > help to create disk images copy-storage-* required, > 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.

Re: [libvirt] [PATCH][RFC] helper of copy-storage-* features

2012-10-17 Thread li guang
ping ... 在 2012-10-15一的 10:48 +0800,liguang写道: > help to create disk images copy-storage-* required, > 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.

[libvirt] [PATCH][RFC] helper of copy-storage-* features

2012-10-14 Thread liguang
help to create disk images copy-storage-* required, 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 creat