run_qemu.sh: use -cpu host as a workaround for #1011003 and because it's faster

This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-05-22 02:51:10 +02:00
parent 09f1dd2ee6
commit 454121acb1
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -32,6 +32,7 @@ qemu-img create -f qcow2 -b "$(realpath $cachedir)/debian-$DEFAULT_DIST.qcow" -F
# minicom -D 'unix#/tmp/ttyS0' # minicom -D 'unix#/tmp/ttyS0'
ret=0 ret=0
timeout 20m qemu-system-x86_64 \ timeout 20m qemu-system-x86_64 \
-cpu host \
-no-user-config \ -no-user-config \
-M accel=kvm:tcg -m 1G -nographic \ -M accel=kvm:tcg -m 1G -nographic \
-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 \ -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0 \