Enable kvm and use q35 for i686

This commit is contained in:
Jeremy Soller 2022-08-21 14:57:56 -06:00
parent 5d966da713
commit c565b323d6

View file

@ -1,8 +1,6 @@
ifeq ($(ARCH),i686) ifeq ($(ARCH),i686)
#TODO: support kvm
kvm=no
QEMU_ARCH=i386 QEMU_ARCH=i386
QEMU_MACHINE=pc QEMU_MACHINE=q35
QEMU_CPU=pentium2 QEMU_CPU=pentium2
#TODO: support higher RAM sizes #TODO: support higher RAM sizes
#TODO: support higher CPU counts #TODO: support higher CPU counts
@ -66,7 +64,7 @@ ifneq ($(usb),no)
QEMUFLAGS+=-device nec-usb-xhci,id=xhci QEMUFLAGS+=-device nec-usb-xhci,id=xhci
endif endif
ifeq ($(gdb),yes) ifeq ($(gdb),yes)
QEMUFLAGS+=-s QEMUFLAGS+=-s -S
endif endif
ifeq ($(UNAME),Linux) ifeq ($(UNAME),Linux)
ifneq ($(kvm),no) ifneq ($(kvm),no)