[libvirt] Question about migration on KVM/Qemu

Hi, I have a question about migration on KVM/Qemu.
From src/qemu_driver.c, domainMigrateXxxxx is not defined.
But from news on 0.3.2, KVM migration is supported. http://libvirt.org/news.html Where is the code which performs migration on KVM/Qemu. Thanks Atsushi SAKAI

Atsushi SAKAI wrote:
Hi,
I have a question about migration on KVM/Qemu.
From src/qemu_driver.c, domainMigrateXxxxx is not defined.
But from news on 0.3.2, KVM migration is supported. http://libvirt.org/news.html
Where is the code which performs migration on KVM/Qemu.
Hm, that's a little odd. As far as I know, KVM migration isn't supported yet. There are some patches from Rich Jones (that he's posted a few times), but there is a bug in upstream KVM that prevents them from working properly. Unfortunately, upstream KVM/Qemu have decided to re-do their implementation of migration, so we can't commit to Rich Jones' patches until that gets sorted upstream. Chris Lalancette

Hi, Chris Thanks for your reply. Please let me clearify, You mean oVirt does not support migration at this moment, Since Migration of KVM/Qemu is not supported on libvirt. Thanks Atsushi SAKAI Chris Lalancette <clalance@redhat.com> wrote:
Atsushi SAKAI wrote:
Hi,
I have a question about migration on KVM/Qemu.
From src/qemu_driver.c, domainMigrateXxxxx is not defined.
But from news on 0.3.2, KVM migration is supported. http://libvirt.org/news.html
Where is the code which performs migration on KVM/Qemu.
Hm, that's a little odd. As far as I know, KVM migration isn't supported yet.
There are some patches from Rich Jones (that he's posted a few times), but there is a bug in upstream KVM that prevents them from working properly. Unfortunately, upstream KVM/Qemu have decided to re-do their implementation of migration, so we can't commit to Rich Jones' patches until that gets sorted upstream.
Chris Lalancette

Atsushi SAKAI wrote:
Thanks for your reply.
Please let me clearify, You mean oVirt does not support migration at this moment, Since Migration of KVM/Qemu is not supported on libvirt.
Well, no. It gets complicated :). Since migration is one of the important features of ovirt, we are basically carrying a custom kvm and libvirt patch so that migration *does* work in ovirt. The problem is, we can't carry that patch forever, and we can't commit to it for libvirt either. For what it's worth, I don't expect that it will take long to resolve this upstream; once KVM gets it sorted, we will dump ovirt's custom patches, get Rich's patches into libvirt, and be all upstream then. Chris Lalancette

Hi, Chris Would you give me a working patch just for evaluation? Thanks Atsushi SAKAI Chris Lalancette <clalance@redhat.com> wrote:
Atsushi SAKAI wrote:
Thanks for your reply.
Please let me clearify, You mean oVirt does not support migration at this moment, Since Migration of KVM/Qemu is not supported on libvirt.
Well, no. It gets complicated :). Since migration is one of the important features of ovirt, we are basically carrying a custom kvm and libvirt patch so that migration *does* work in ovirt.
The problem is, we can't carry that patch forever, and we can't commit to it for libvirt either. For what it's worth, I don't expect that it will take long to resolve this upstream; once KVM gets it sorted, we will dump ovirt's custom patches, get Rich's patches into libvirt, and be all upstream then.
Chris Lalancette

Atsushi SAKAI wrote:
Hi, Chris
Would you give me a working patch just for evaluation?
They are available in the ovirt repository: http://ovirt.org/repos/ovirt/9/ Chris Lalancette

On Mon, Sep 01, 2008 at 12:02:31PM +0200, Chris Lalancette wrote:
Atsushi SAKAI wrote:
Hi,
I have a question about migration on KVM/Qemu.
From src/qemu_driver.c, domainMigrateXxxxx is not defined.
But from news on 0.3.2, KVM migration is supported. http://libvirt.org/news.html
Where is the code which performs migration on KVM/Qemu.
Hm, that's a little odd. As far as I know, KVM migration isn't supported yet. Well there's suspend/resume suport for kvm which can be used to migrate to another machine. It's not live and it's not what the migrate command does but maybe that's what got added to 0.3.2? -- Guido
participants (3)
-
Atsushi SAKAI
-
Chris Lalancette
-
Guido Günther