[libvirt] [libvirt-users] cannot perform tunnelled migration without using peer2peer flag
Daniel P. Berrange
berrange at redhat.com
Tue Jul 19 09:23:37 UTC 2011
On Mon, Jul 18, 2011 at 01:11:42PM -0600, Eric Blake wrote:
> On 07/18/2011 04:11 AM, Osier Yang wrote:
> >于 2011年07月18日 10:07, zhang xintao 写道:
> >>Dear All
> >>I try to migration a kvm guest os to another host failed
> >>server: ubuntu 11.04 server
> >>virsh:migrate --live --tunnelled vm1 qemu+ssh://192.168.10.3/system
> >>error:Requested operation is not valid:cannot perform
> >>tunnelled migration without using peer2peer flag
> >
> >The error tells you all, you need to use "--p2p".
>
> That said, why can't virsh be smarter, and automatically request the
> right underlying flags without making the user also type --p2p? Any
> problems with this patch?
It was done to leave open the possibility of supporting a
TUNNELLED mode, which was independant of P2P mode in the
future. It isn't entirely likely, but I didn't want to lock
ourselves out of it with this kind of patch
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list