[3/7] qemuarm64-secureboot: disable the use of KVM

Message ID 20220407160925.3809765-3-ross.burton@arm.com
State New
Headers show
Series [1/7] CI: install pregenerated SSH keys to speed up boot | expand

Commit Message

Ross Burton April 7, 2022, 4:09 p.m. UTC
When using -machine=virt,secure=on KVM cannot be used and will cause an
error, so forcibly disable the use of KVM.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm/conf/machine/qemuarm64-secureboot.conf | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-arm/conf/machine/qemuarm64-secureboot.conf b/meta-arm/conf/machine/qemuarm64-secureboot.conf
index 99d92e07..22fb1d3e 100644
--- a/meta-arm/conf/machine/qemuarm64-secureboot.conf
+++ b/meta-arm/conf/machine/qemuarm64-secureboot.conf
@@ -4,6 +4,9 @@  require ${COREBASE}/meta/conf/machine/qemuarm64.conf
 
 KMACHINE = "qemuarm64"
 
+# secure=on can't ever use KVM, so force it off
+QEMU_USE_KVM = ""
+
 QB_MACHINE = "-machine virt,secure=on"
 QB_OPT_APPEND += "-no-acpi"
 QB_MEM = "-m 1024"