Skip to contentSkip to conversation

KVM live migration syntax

DISCUSSION Philipp Wehrheim 2 participants 2 messages Dec 8, 2008 KVM

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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)