From e1bfaa5d8873696245f87583294e23157e2595ed Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Thu, 17 Sep 2020 06:47:32 +0000 Subject: [PATCH] automatically use kvm if available --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b6027c6..597102e 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ QEMU_ARGS = $(addprefix --option-rom ,$(ROMS)) NASM = nasm NASM_ARGS = -s -Ilib -EMUL = utils/emul +KVM = $(shell test -w /dev/kvm && echo 1) ifdef KVM QEMU_ARGS += --enable-kvm