]> piware.de Git - bin.git/commitdiff
vmdebdev: use host CPU and 3 CPUs
authorMartin Pitt <martin@piware.de>
Mon, 7 Aug 2017 15:17:05 +0000 (17:17 +0200)
committerMartin Pitt <martin@piware.de>
Mon, 7 Aug 2017 15:17:05 +0000 (17:17 +0200)
vmdebdev

index 33efdf78230b59fc139453702d66d8867ff94806..a5e4e1c46f4091745b263dee195839fba2dd4634 100755 (executable)
--- 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