[libvirt-users] The Format Of URI when Migrating

huachao yao yao.d.hc at gmail.com
Fri Sep 23 08:41:40 UTC 2011

Hi, when I try to use such API:

virDomainPtr <http://www.libvirt.org/html/libvirt-libvirt.html#virDomainPtr>	virDomainMigrate	(virDomainPtr
					 unsigned long flags,
					 const char * dname,
					 const char * uri,
					 unsigned long bandwidth)
to achieve the domain to the remote host. I set the "const char * uri"
as "qemu+ssh://root@".
But the Error "libvir: QEMU error : invalid argument in only tcp URIs
are supported for KVM/QEMU migrations" happened.

I want to know when i want the migrate ,how can i set the URI ? offer
a example is better.   :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110923/efb32f4f/attachment.htm>

More information about the libvirt-users mailing list