summaryrefslogtreecommitdiffstats
path: root/ci/envs/host-run-qemu.sh
diff options
context:
space:
mode:
authorshravani <shravani.p@tcs.com>2017-01-05 18:36:26 +0530
committerShravani Paladugula <shravani.p@tcs.com>2017-02-07 12:24:08 +0000
commit2046178d894438b492d93f30941076ee7964f6ab (patch)
tree062cd5a9ce3d01e2f5f3d86de46bd77b7098ea82 /ci/envs/host-run-qemu.sh
parentb79d79eb6385a92cdc8c29bf080810becc4602b7 (diff)
This patch contains the scripts to install the Qemu rpm and make use of it for
lauching guest VM's Change-Id: I74ce89e1e0d628b0be2d9165b8418a519b52064d Co-Authored-By: Y Rajitha <y.rajitha@tcs.com> Signed-off-by: Shravani <shravani.p@tcs.com>
Diffstat (limited to 'ci/envs/host-run-qemu.sh')
-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 9cd4b45c2..389790eda 100755
--- a/ci/envs/host-run-qemu.sh
+++ b/ci/envs/host-run-qemu.sh
@@ -36,6 +36,7 @@ ${qemu} -smp ${guest_cpus} -monitor unix:${qmp_sock},server,nowait \
-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`