From 6c728e29fee8e36b8ad66964e13ed2b311ef7bee Mon Sep 17 00:00:00 2001
From: Markos Chandras <mchandras@suse.de>
Date: Fri, 15 Dec 2017 10:04:27 +0000
Subject: [PATCH] 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>
---
 xci/scripts/vm/start-new-vm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}
-- 
2.16.6