From 3d65cba35270bbf66a13e5de7452a2b091840f9d Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 7 Aug 2017 17:17:05 +0200 Subject: [PATCH] vmdebdev: use host CPU and 3 CPUs --- vmdebdev | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmdebdev b/vmdebdev index 33efdf7..a5e4e1c 100755 --- a/vmdebdev +++ b/vmdebdev @@ -10,7 +10,8 @@ set timeout 60 # Start the guest VM set img [lrange $argv 0 0] if { $img == "" } { set img "/srv/vm/autopkgtest-sid.img" } -spawn vm $img -nographic -snapshot -virtfs local,id=srv,path=/srv,security_model=none,mount_tag=srv,readonly \ +spawn vm $img -nographic -snapshot -cpu host -smp 3 \ + -virtfs local,id=srv,path=/srv,security_model=none,mount_tag=srv,readonly \ -virtfs local,id=etcschroot,path=/etc/schroot,security_model=none,mount_tag=etcschroot,readonly # Login, and get root shell -- 2.39.5