Re: [libvirt] tunnelled migration with libvirt 0.9.0

2011-04-21 Thread Daniel P. Berrange
On Wed, Apr 20, 2011 at 07:06:33AM -0600, Eric Blake wrote: On 04/20/2011 05:13 AM, Jason Krieg wrote: that was my first guess but it does not work the remote monitor socket does not show up libvirt is running as root so it should not be a permission problem qemuMonitorOpenUnix:289

[libvirt] tunnelled migration with libvirt 0.9.0

2011-04-20 Thread Jason Krieg
Hi, is tunnelled migration with libvirt 0.9.0 and qemu-kvm 0.14.0 broken ? all I get is an error unknown migration protocol while looking at the code in src/qemu/qemu_migration.c src/qemu/qemu_migration.c: /* Start the QEMU daemon, with the same command-line arguments plus

Re: [libvirt] tunnelled migration with libvirt 0.9.0

2011-04-20 Thread Wen Congyang
At 04/20/2011 05:41 PM, Jason Krieg Write: Hi, is tunnelled migration with libvirt 0.9.0 and qemu-kvm 0.14.0 broken ? all I get is an error unknown migration protocol while looking at the code in src/qemu/qemu_migration.c src/qemu/qemu_migration.c: /* Start the QEMU daemon

Re: [libvirt] tunnelled migration with libvirt 0.9.0

2011-04-20 Thread Jason Krieg
On 04/20/2011 12:23 PM, Wen Congyang wrote: At 04/20/2011 05:41 PM, Jason Krieg Write: Hi, is tunnelled migration with libvirt 0.9.0 and qemu-kvm 0.14.0 broken ? all I get is an error unknown migration protocol while looking at the code in src/qemu/qemu_migration.c src/qemu/qemu_migration.c

Re: [libvirt] tunnelled migration with libvirt 0.9.0

2011-04-20 Thread Eric Blake
On 04/20/2011 04:23 AM, Wen Congyang wrote: migrateFrom is set to stdin but in src/qemu/qemu_command.c there is no such match which ends in the above error. Yes, the tunnelled migration has been broken. Aargh - another typo strikes my patches. :( Please applied the following patch and

Re: [libvirt] tunnelled migration with libvirt 0.9.0

2011-04-20 Thread Eric Blake
On 04/20/2011 05:13 AM, Jason Krieg wrote: that was my first guess but it does not work the remote monitor socket does not show up libvirt is running as root so it should not be a permission problem qemuMonitorOpenUnix:289 : monitor socket did not show up.: Connection refused

Re: [libvirt] tunnelled migration with libvirt 0.9.0

2011-04-20 Thread Eric Blake
On 04/20/2011 08:55 AM, Wen Congyang wrote: If the migrateFrom is stdio not stdin, qemuBuildCommandLine() will convert it to exec:cat or fd:n. --- src/qemu/qemu_migration.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ACK, please apply. Thanks. Applied. Except that