From 40e2aa661720e46ca4a57b083c7f1dc3cd57cb8a Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Sun, 27 Jun 2021 19:20:32 +0200 Subject: [PATCH] builddir/run_x86: add note regarding missing -no-kvm switch Also, add -enable-kvm notes as commented out QEMU_OPT option. Updates #500. --- tool/builddir/build.conf/run_x86 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tool/builddir/build.conf/run_x86 b/tool/builddir/build.conf/run_x86 index 39c34a694d..d07a7205ca 100644 --- a/tool/builddir/build.conf/run_x86 +++ b/tool/builddir/build.conf/run_x86 @@ -9,9 +9,18 @@ QEMU_RUN_OPT := --include power_on/qemu --include log/qemu --include image/iso # enable GDB stub #QEMU_OPT += -s -# prevent Qemu from using KVM +# +# Prevent Qemu from using KVM +# +# Note: On some systems, the '-no-kvm' command-line argument is not included +# in 'qemu-system-x86_64', resulting in the error '-no-kvm: invalid option'. +# To resolve this issue, comment out or remove the QEMU_OPT line below. +# QEMU_OPT += -no-kvm +# enable KVM full virtualization support in Qemu +#QEMU_OPT += -enable-kvm + # use time-tested graphics backend QEMU_OPT += -display sdl