From: Martin Pitt Date: Mon, 7 Aug 2017 15:17:05 +0000 (+0200) Subject: vmdebdev: use host CPU and 3 CPUs X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=3d65cba35270bbf66a13e5de7452a2b091840f9d;p=bin.git vmdebdev: use host CPU and 3 CPUs --- 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