xci: scripts: start-new-vm: Use host-passthrough to use the real host CPU 49/49049/4
authorMarkos Chandras <mchandras@suse.de>
Fri, 15 Dec 2017 10:04:27 +0000 (10:04 +0000)
committerMarkos Chandras <mchandras@suse.de>
Fri, 15 Dec 2017 10:21:07 +0000 (10:21 +0000)
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>
xci/scripts/vm/start-new-vm.sh

index 9b3ee3a..d451daa 100755 (executable)
@@ -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}