KVM live migration syntax
Hey,
I lately tried to live migrate a VM but had to find out that the syntax shown in the KVM examples and the actual syntax expected by the code do not match.
from the Wiki:
tcp:// migration protocol
But the code says (kvm-79/qemu/migration.c):
void qemu_start_incoming_migration(const char *uri)
{
const char *p;
if (strstart(uri, "tcp:", &p)) <===================
tcp_start_incoming_migration(p);
else
...So the syntax expected by the code is *without* the //.
Am I missing something?
Thanks
flip
Quoted 10 lines · Philipp Wehrheim
Hey,
I lately tried to live migrate a VM but had to find out that the syntax shown in the KVM examples and the actual syntax expected by the code do not match.
from the Wiki:
tcp:// migration protocol
[...]
Quoted 4 lines
So the syntax expected by the code is *without* the //.
Am I missing something?
No, you aren't; KVM recently started using QEMU's live migration (which has the tcp:host:port syntax) as opposed to its own (as documented on the wiki, with the tcp:// syntax)