summaryrefslogtreecommitdiffstats
path: root/xci
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-12-15 10:04:27 +0000
committerMarkos Chandras <mchandras@suse.de>2017-12-15 10:21:07 +0000
commit6c728e29fee8e36b8ad66964e13ed2b311ef7bee (patch)
tree31530a52c31cb5504939d1ed17e45e835ae65bef /xci
parent39d9f4db802ade0b8be8216ae124b1f42f7a7a78 (diff)
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 <mchandras@suse.de>
Diffstat (limited to 'xci')
-rwxr-xr-xxci/scripts/vm/start-new-vm.sh2
1 files changed, 1 insertions, 1 deletions
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}