[one-users] V4.4: KVM Hyper-V Enlightenments
Michael Kutzner
michael.kutzner at virtion.de
Fri Dec 13 22:12:01 PST 2013
Hi Shankhadeep,
you are right, the support for the different features went into different versions
of libvirt…
Fast help:
if you modify opennebula-4.4.0/src/vmm/LibVirtDriverKVM.cc
after applying the patch:
modify line 766-> file << "\t\t<hyperv>\n\t\t\t<relaxed state='on'/>\n\t\t</hyperv>“
and rebuild. Than it should work with your versio.
That should help in your case. I dont have that case as we use our own libvirt and
qemu/kvm packages - but think, will create a configurable version next time.
Another option is to build a current libvirt (I think, thats another discussion
to fitting to this list) on your own or try to find prebuild packages e.g.
on launchpad.
Best, Michael
Am 14.12.2013 um 06:12 schrieb Shankhadeep Shome <shank15217 at gmail.com>:
> I would like to add that if you are an Ubuntu user, 13.10 has the libvirt version (1.1.1) required to support these features fully. Libvirt 1.0.0 supports only..
>
> <hyperv>
> <relaxed state='on'/>
> </hyperv>
>
>
> On Fri, Dec 13, 2013 at 11:52 PM, Shankhadeep Shome <shank15217 at gmail.com> wrote:
> Thanks Michael, this is really useful for our deployment, we have a mix of windows and Linux VMs and this would certainly help, I'm sure the vapic feature will be especially useful considering the wonky way windows handles apic shutdown calls at the moment.
>
>
> On Fri, Dec 13, 2013 at 6:21 AM, Ruben S. Montero <rsmontero at opennebula.org> wrote:
> Hi Michael,
>
> Thanks for your contribution!!!. I've filled a bug for this:
>
> http://dev.opennebula.org/issues/2567
>
> Cheers Ruben,
>
> PS: Probably the dev mailing list is better to discuss this.
>
>
> On Fri, Dec 13, 2013 at 11:26 AM, Michael Kutzner <michael.kutzner at virtion.de> wrote:
> Hi,
>
> another small patch I would like to share.
>
> Newer versions of libvirt and kvm support the cpu feature
> hv_spinlocks, hv_relaxe
> (e.g. see here http://wiki.qemu.org/ChangeLog/1.1)
>
> To make that work in ON4.4 I attached a small patch, so you can configure that
> in sunstone (Templates -> OS-Booting -> Features)
> and the XML is added to the features section of deployment.xml
>
> It adds:
> <features>
> …
> <hyperv>
> <relaxed state='on'/>
> <vapic state='on'/>
> <spinlocks state='on' retries='4096'/>
> </hyperv>
> </features>
>
> Beware that you need a current libvirt and qemu before activating that feature.
> (Dont know, if that is already supported in e.g. RH6.x but I suppose so).
>
> See also here: http://www.linux-kvm.org/wiki/images/0/0a/2012-forum-kvm_hyperv.pdf
>
>
> Best, Michael
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> --
> --
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
--
------------------------------------------------------------------------------
Michael Kutzner virtion GmbH
Geschäftsführer/CEO Bleichstr. 77a
phone: +49 521 - 448158-13 33607 Bielefeld
fax: +49 521 - 448158-99
mobile: +49 151 - 15797488
------------------------------------------------------------------------------
Geschäftsführer: Thomas Fleck, Michael Kutzner, Holger Schemel
Handelsregister HRB 40374, Amtsgericht Bielefeld
USt-IdNr.: DE278312983
More information about the Users
mailing list