[libvirt] [PATCH 2/2] qemu: Clear source path of removable block if it is ejected.

2011-08-12 Thread Osier Yang
This patch is mainly to solve the migration problem: After the media is ejected inside guest, and one removes the source of the media outside, migration will fail early, as we start the qemu daemon on dest host with the source of the removable block still existing, this causes failure when

Re: [libvirt] [PATCH 2/2] qemu: Clear source path of removable block if it is ejected.

2011-08-12 Thread Daniel P. Berrange
On Fri, Aug 12, 2011 at 09:34:42PM +0800, Osier Yang wrote: This patch is mainly to solve the migration problem: After the media is ejected inside guest, and one removes the source of the media outside, migration will fail early, as we start the qemu daemon on dest host with the source of

Re: [libvirt] [PATCH 2/2] qemu: Clear source path of removable block if it is ejected.

2011-08-12 Thread Osier Yang
于 2011年08月12日 21:04, Daniel P. Berrange 写道: On Fri, Aug 12, 2011 at 09:34:42PM +0800, Osier Yang wrote: This patch is mainly to solve the migration problem: After the media is ejected inside guest, and one removes the source of the media outside, migration will fail early, as we start the

Re: [libvirt] [PATCH 2/2] qemu: Clear source path of removable block if it is ejected.

2011-08-12 Thread Daniel P. Berrange
On Fri, Aug 12, 2011 at 09:14:09PM +0800, Osier Yang wrote: 于 2011年08月12日 21:04, Daniel P. Berrange 写道: The changes affect the running domain config, (e.g. for a running domain, virsh dumpxml won't display the source path of the media anymore once it's ejected inside guest. But think it's

Re: [libvirt] [PATCH 2/2] qemu: Clear source path of removable block if it is ejected.

2011-08-12 Thread Osier Yang
[ CC to Markus and Luiz ] 于 2011年08月12日 22:00, Daniel P. Berrange 写道: On Fri, Aug 12, 2011 at 09:14:09PM +0800, Osier Yang wrote: 于 2011年08月12日 21:04, Daniel P. Berrange 写道: The changes affect the running domain config, (e.g. for a running domain, virsh dumpxml won't display the source