Allow to configure QEMU_OPTIONS to disable -enable-kvm

Not all environments have access to KVM support. For example if you
already work inside a VM (Qubes OS).
This commit is contained in:
Robin Schneider 2017-06-15 16:52:55 +02:00
parent 61cdddaa9a
commit 241b00df51
No known key found for this signature in database
GPG Key ID: A81E8006DC95EFE6

View File

@ -10,6 +10,8 @@ all: list_laptops
.PHONY: all
QEMU_OPTIONS ?= -enable-kvm
GITVERSION = $(shell git describe --dirty --abbrev=6 ) ($(shell date +%Y%m%d))
BUILDINFO = $(GITVERSION) $(MAKECMDGOALS)
@ -269,10 +271,10 @@ endef
# simple testing of images in an emulator
%.iso.test: %.iso
qemu-system-x86_64 -enable-kvm -cdrom $<
qemu-system-x86_64 $(QEMU_OPTIONS) -cdrom $<
%.img.test: %.img
qemu-system-x86_64 -enable-kvm -hda $<
qemu-system-x86_64 $(QEMU_OPTIONS) -hda $<
mec-tools/Makefile:
git submodule update --init --remote