[one-users] V4.4: KVM Hyper-V Enlightenments

Michael Kutzner michael.kutzner at virtion.de
Fri Dec 13 02:26:26 PST 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.hyperv
Type: application/octet-stream
Size: 3473 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131213/12600586/attachment.obj>


More information about the Users mailing list