Using host-passthrough cpu mode with virtual hosts

Allowing to use all CPU feutures on the guest machins,
inclouding using nested guest feature when it is availible.

https://wiki.openstack.org/wiki/LibvirtXMLCPUModel
http://docs.openstack.org/developer/devstack/guides/devstack-with-nested-kvm.html

Change-Id: I32dd03f1f78192eef13e390e1c8547216e08a746
This commit is contained in:
Attila Fazekas 2016-01-28 08:01:52 +01:00
parent d81bd6d006
commit 0ee50a8577
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
<name>%(name)s</name>
<memory unit='KiB'>%(memory)s</memory>
<vcpu>%(cpus)s</vcpu>
<cpu mode='host-passthrough' />
<os>
<type arch='%(arch)s'>hvm</type>
<boot dev='%(bootdev)s'/>