You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/04/28 21:26:39 UTC

cloudstack-docs-install git commit: kvm: update information on guest.cpu.features usage

Repository: cloudstack-docs-install
Updated Branches:
  refs/heads/master 82e39091a -> 2d28149b5


kvm: update information on guest.cpu.features usage

Signed-off-by: Rohit Yadav <ro...@scaleninja.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-install/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-install/commit/2d28149b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-install/tree/2d28149b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-install/diff/2d28149b

Branch: refs/heads/master
Commit: 2d28149b5a16f59b646b9272d850d8f3b81d32c3
Parents: 82e3909
Author: Rohit Yadav <ro...@scaleninja.com>
Authored: Tue Apr 28 21:26:14 2015 +0200
Committer: Rohit Yadav <ro...@scaleninja.com>
Committed: Tue Apr 28 21:26:14 2015 +0200

----------------------------------------------------------------------
 source/hypervisor/kvm.rst | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-docs-install/blob/2d28149b/source/hypervisor/kvm.rst
----------------------------------------------------------------------
diff --git a/source/hypervisor/kvm.rst b/source/hypervisor/kvm.rst
index fbf24bf..3e1c7a9 100644
--- a/source/hypervisor/kvm.rst
+++ b/source/hypervisor/kvm.rst
@@ -180,12 +180,13 @@ CPU model:
 For the most part it will be sufficient for the host administrator to
 specify the guest CPU config in the per-host configuration file
 (/etc/cloudstack/agent/agent.properties). This will be achieved by
-introducing two new configuration parameters:
+introducing following configuration parameters:
 
 .. sourcecode:: bash
 
    guest.cpu.mode=custom|host-model|host-passthrough
    guest.cpu.model=from /usr/share/libvirt/cpu_map.xml(only valid when guest.cpu.mode=custom)
+   guest.cpu.features=vmx ept aes smx mmx ht (space separated list of cpu flags to apply)
 
 There are three choices to fulfill the cpu model changes:
 
@@ -227,11 +228,13 @@ Here are some examples:
    .. sourcecode:: bash
 
       guest.cpu.mode=host-passthrough
+      guest.cpu.features=vmx
 
 .. note:: 
    host-passthrough may lead to migration failure,if you have this problem, 
-   you should use host-model or custom
-
+   you should use host-model or custom. guest.cpu.features will force cpu features
+   as a required policy so make sure to put only those features that are provided
+   by the host CPU.
 
 Install and Configure libvirt
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~