[libvirt-users] How to use ext transport?

Christian Schmidt christian.schmidt at osl-it.de
Tue Aug 14 14:39:25 UTC 2012


Hi,

I would like to use the ext transport mode to migrate VMs between two
hosts, but I didn't find any documentation about the ext interface.
I have successfully migrate a vm with a programm that passes it's
incomming messages through the network to libvirts socket on the target
server. But the external program on the source side didn't get the
connection URI or the server address or port. 

Is is possible to pass some arguments to the external programm or how
can the external programm get the connection URI?

My migration command looks like: 

virsh migrate --live --verbose myvm
qemu+ext://targethost:7866/system?command=/root/dev/bin/trans

At the moment I've written the target host and the port in the transport
programm, but I think there have to be a better solution...



-- 
Christian 





More information about the libvirt-users mailing list