qemu: Enable KVM
Fixes performance issues when running a QEMU VM. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
committed by
Jeremy Soller
parent
b3242efba6
commit
05577baab2
@ -17,7 +17,9 @@ then
|
||||
fi
|
||||
MODEL_DIR="$(realpath "models/${MODEL}")"
|
||||
|
||||
qemu-system-x86_64 -M q35 -m 4096 -vga std \
|
||||
qemu-system-x86_64 \
|
||||
-enable-kvm \
|
||||
-M q35 -m 4096 -vga std \
|
||||
-bios "build/${MODEL}/firmware.rom" \
|
||||
-chardev stdio,mux=on,id=debug \
|
||||
-device isa-serial,index=2,chardev=debug \
|
||||
|
Reference in New Issue
Block a user