summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkalyanreddy <reddyx.gundarapu@intel.com>2017-04-06 11:19:43 +0530
committerKalyan reddy Gundarapu <reddyx.gundarapu@intel.com>2017-04-06 06:27:30 +0000
commitd35ab4afe0526d3cd9b56b321791dc7730081f9a (patch)
treeee0cda1395fd0226247a7e78bd1de5199a56fa16
parentaf8d29d3d6119cf43344970023f0548a28922234 (diff)
Enabling CPU features for qemu.
This patch is used to enable cpu features while launching guest vm using qemu as a part of cyclictest execution through yardstick. Change-Id: Ib354318c772cfadd707605470463904eca799bb0 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
-rwxr-xr-xci/envs/host-run-qemu.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/envs/host-run-qemu.sh b/ci/envs/host-run-qemu.sh
index 389790eda..631adfc00 100755
--- a/ci/envs/host-run-qemu.sh
+++ b/ci/envs/host-run-qemu.sh
@@ -31,6 +31,7 @@ qmp_sock="/tmp/qmp-sock"
# -nographic -serial /dev/null -parallel /dev/null
${qemu} -smp ${guest_cpus} -monitor unix:${qmp_sock},server,nowait \
+ -cpu host,migratable=off,+invtsc,+tsc-deadline,pmu=off \
-drive file=/root/guest1.qcow2 -daemonize \
-netdev user,id=net0,hostfwd=tcp:$HOST_IP:5555-:22 \
-realtime mlock=on -mem-prealloc -enable-kvm -m 1G \