From: kalyanreddy Date: Thu, 6 Apr 2017 05:49:43 +0000 (+0530) Subject: Enabling CPU features for qemu. X-Git-Tag: opnfv-5.0.0~35 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kvmfornfv.git;a=commitdiff_plain;h=d35ab4afe0526d3cd9b56b321791dc7730081f9a 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 --- 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 \