qemu: Enable KVM

Fixes performance issues when running a QEMU VM.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2022-03-10 08:41:16 -07:00
committed by Jeremy Soller
parent b3242efba6
commit 05577baab2

View File

@ -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 \