[libvirt] libvirt Driver support Matrix.

Hi, I needed to know if libvirt supports migration via the QEMU/KVM driver. ( virDomainMigrate) Could someone point me to the latest driver support matrix for libvirt. It seems the one at http://libvirt.org/hvsupport.html was last updated on 2008-06-05. Appreciate your help! Thanks much, Abhishek Jha. IBM India Software Labs, Pune 91-20-66592139(Direct) 91-20-26982424 Extn: 2139

On Friday 24 April 2009 10:59:11 Abhishek K Jha wrote:
Hi,
I needed to know if libvirt supports migration via the QEMU/KVM driver. ( virDomainMigrate)
Could someone point me to the latest driver support matrix for libvirt. It seems the one at http://libvirt.org/hvsupport.html was last updated on 2008-06-05.
check the repo, it was last updated few days ago, it can be seen here: http://git.et.redhat.com/?p=libvirt.git;a=blob;f=docs/hvsupport.html.in;h=f7... Regards, Pritesh

Hi Pritesh, Thanks for your prompt reply. If I look at the latest hvsupport.html, it still shows virDomainMigrate as unsupported by QEMU/KVM. I did some more search and if I look at the log ( http://git.et.redhat.com/?p=libvirt.git;a=log;h=2bfdcfda7c55c3ed59c16e82fcba... ) , I see an entry for "Fix URI check in QEMU migration" which means that the support for QEMU is there. However, Is there a definite way to confirm this support for QEMU/KVM ? Thanks and Regards, Abhishek Jha. IBM India Software Labs, Pune 91-20-66592139(Direct) 91-20-26982424 Extn: 2139 Pritesh Kothari <Pritesh.Kothari@ Sun.COM> To Sent by: libvir-list@redhat.com Pritesh.Kothari@S cc un.COM Abhishek K Jha/India/IBM@IBMIN Subject Re: [libvirt] libvirt Driver 24/04/2009 18:57 support Matrix. On Friday 24 April 2009 10:59:11 Abhishek K Jha wrote:
Hi,
I needed to know if libvirt supports migration via the QEMU/KVM driver. ( virDomainMigrate)
Could someone point me to the latest driver support matrix for libvirt. It seems the one at http://libvirt.org/hvsupport.html was last updated on 2008-06-05.
check the repo, it was last updated few days ago, it can be seen here: http://git.et.redhat.com/?p=libvirt.git;a=blob;f=docs/hvsupport.html.in;h=f7... Regards, Pritesh

Hi Pritesh,
Thanks for your prompt reply.
If I look at the latest hvsupport.html, it still shows virDomainMigrate as unsupported by QEMU/KVM.
I did some more search and if I look at the log ( http://git.et.redhat.com/?p=libvirt.git;a=log;h=2bfdcfda7c55c3ed59c16e82fcba... ) , I see an entry for "Fix URI check in QEMU migration" which means that the support for QEMU is there.
However, Is there a definite way to confirm this support for QEMU/KVM ?
Thanks and Regards,
Abhishek Jha. IBM India Software Labs, Pune 91-20-66592139(Direct) 91-20-26982424 Extn: 2139 It does not work for me on RHEL5.3 or RHEL5.1 with kvm-83/84 and
Abhishek K Jha schrieb: libvirt-0.6.2. Refer to my post here:
https://www.redhat.com/archives/libvir-list/2009-April/msg00471.html
I do not get it working with libvirt-0.6.2, with libvirt-0.6.3 out i would give this a try. Live-migration via command-line (unix-socket) works with RHEL5.3 and RHEL5.1 guests with i386 flawless - at least for me. With x86_64 one gets a kernel-trace, refer to my bug-report here:
https://bugzilla.redhat.com/show_bug.cgi?id=492688 http://article.gmane.org/gmane.comp.emulators.kvm.devel/31115

Hi Abhishek,
If I look at the latest hvsupport.html, it still shows virDomainMigrate as unsupported by QEMU/KVM.
I did some more search and if I look at the log ( http://git.et.redhat.com/?p=libvirt.git;a=log;h=2bfdcfda7c55c3ed59c16e82fcba... ) , I see an entry for "Fix URI check in QEMU migration" which means that the support for QEMU is there.
However, Is there a definite way to confirm this support for QEMU/KVM ?
The definitive way to find it out is through the code and it is as below: 5155 NULL, /* domainMigratePrepare (v1) */ 5156 qemudDomainMigratePerform, /* domainMigratePerform */ 5157 NULL, /* domainMigrateFinish */ 5158 qemudDomainBlockStats, /* domainBlockStats */ 5159 qemudDomainInterfaceStats, /* domainInterfaceStats */ 5160 qemudDomainBlockPeek, /* domainBlockPeek */ 5161 qemudDomainMemoryPeek, /* domainMemoryPeek */ 5169 qemudDomainEventRegister, /* domainEventRegister */ 5170 qemudDomainEventDeregister, /* domainEventDeregister */ 5171 qemudDomainMigratePrepare2, /* domainMigratePrepare2 */ 5172 qemudDomainMigrateFinish2, /* domainMigrateFinish2 */ if you see, qemudDomainMigratePrepare2, qemudDomainMigrateFinish2 and qemudDomainMigratePerform are there but others are null. so if you need these then if would be ok but if you need the other functions which are currently still null then, either you have to hack it ;) or wait till some one does :) Regards, Pritesh

On Fri, Apr 24, 2009 at 02:29:11PM +0530, Abhishek K Jha wrote:
Hi,
I needed to know if libvirt supports migration via the QEMU/KVM driver. ( virDomainMigrate)
Yes it is supported in KVM >= 79, or QEMU >= 0.10.0 and libvirt 0.6.0 IIRC. Earlier versions of KVM/QEMU have problems preventing it from working. ALso note that successful migration depends on the hardware config of your guest. In theory any config should work, but in practice there have been bugs in the device state save/restore process of various types of device. So test your particular VM config successfully migrates before relying on it in production.
Could someone point me to the latest driver support matrix for libvirt. It seems the one at http://libvirt.org/hvsupport.html was last updated on 2008-06-05.
Unfortunately that page is a little out of date. Seems we should make a rule that this page be one of the things we update as part of the release process Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

On Fri, Apr 24, 2009 at 10:54:08PM +0100, Daniel P. Berrange wrote:
On Fri, Apr 24, 2009 at 02:29:11PM +0530, Abhishek K Jha wrote:
Hi,
I needed to know if libvirt supports migration via the QEMU/KVM driver. ( virDomainMigrate)
Yes it is supported in KVM >= 79, or QEMU >= 0.10.0 and libvirt 0.6.0 IIRC.
Earlier versions of KVM/QEMU have problems preventing it from working.
ALso note that successful migration depends on the hardware config of your guest. In theory any config should work, but in practice there have been bugs in the device state save/restore process of various types of device. So test your particular VM config successfully migrates before relying on it in production.
Could someone point me to the latest driver support matrix for libvirt. It seems the one at http://libvirt.org/hvsupport.html was last updated on 2008-06-05.
Unfortunately that page is a little out of date. Seems we should make a rule that this page be one of the things we update as part of the release process
yes, I tend to forgot that one too :-\ Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (5)
-
Abhishek K Jha
-
Daniel P. Berrange
-
Daniel Veillard
-
Gerrit Slomma
-
Pritesh Kothari