From d35ab4afe0526d3cd9b56b321791dc7730081f9a Mon Sep 17 00:00:00 2001 From: kalyanreddy Date: Thu, 6 Apr 2017 11:19:43 +0530 Subject: 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 --- ci/envs/host-run-qemu.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'ci/envs') 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 \ -- cgit 1.2.3-korg