run_qemu.sh: use -cpu host as a workaround for #1011003 and because it's faster
This commit is contained in:
parent
09f1dd2ee6
commit
454121acb1
1 changed files with 1 additions and 0 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue