From: Markos Chandras Date: Fri, 15 Dec 2017 10:04:27 +0000 (+0000) Subject: xci: scripts: start-new-vm: Use host-passthrough to use the real host CPU X-Git-Tag: 6.0.0~206 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=6c728e29fee8e36b8ad66964e13ed2b311ef7bee;p=releng-xci.git xci: scripts: start-new-vm: Use host-passthrough to use the real host CPU The host-passthrough mode will allow the VM to use all the host cpu features so it should provide the best possible CPU performance. Change-Id: I6ecd0363d046aaefa08f9e97144aa9ca9f1afae5 Signed-off-by: Markos Chandras --- diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index 9b3ee3a7..d451daae 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -83,7 +83,7 @@ update_clean_vm_files() { [[ $# -ne 1 ]] && usage && exit 1 -declare -r CPU=${XCI_CPU_TYPE:-host} +declare -r CPU=${XCI_CPU_TYPE:-host-passthrough} declare -r NCPUS=${XCI_NCPUS:-24} declare -r MEMORY=${XCI_MEMORY_SIZE:-49152} declare -r DISK=${XCI_DISK_SIZE:-500}