X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fenvs%2Fhost-run-qemu.sh;h=631adfc0070c96cb6028dcc49630a45284b49dfc;hb=868367c47df84a70a49f7be6b5e6c3150906aa8f;hp=9cd4b45c2ba0aaa4de82a84f2002a58ed4627c65;hpb=2c8605dc1647ee6a7b7a76c952d2adc6f68be989;p=kvmfornfv.git diff --git a/ci/envs/host-run-qemu.sh b/ci/envs/host-run-qemu.sh index 9cd4b45c2..631adfc00 100755 --- a/ci/envs/host-run-qemu.sh +++ b/ci/envs/host-run-qemu.sh @@ -31,11 +31,13 @@ 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 \ -mem-path /mnt/hugetlbfs-1g \ -device virtio-net-pci,netdev=net0 \ + -vnc :1 threads=`echo "info cpus" | nc -U ${qmp_sock} | grep thread_id | cut -d= -f3`