Allow disabling KVM in Makefile

This commit is contained in:
K. Lange 2018-08-16 14:26:40 +09:00
parent 458ceb00bd
commit 3301b5b0e5

View File

@ -255,7 +255,12 @@ clean:
ifneq (,$(findstring Microsoft,$(shell uname -r)))
QEMU_ARGS=-serial mon:stdio -m 1G -rtc base=localtime -vnc :0
else
QEMU_ARGS=-serial mon:stdio -m 1G -soundhw ac97,pcspk -enable-kvm -rtc base=localtime
ifeq (,${NO_KVM})
KVM=-enable-kvm
else
KVM=
endif
QEMU_ARGS=-serial mon:stdio -m 1G -soundhw ac97,pcspk ${KVM} -rtc base=localtime
endif