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

Attachment: diff.hyperv
Description: Binary data

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to