summaryrefslogtreecommitdiffstats
path: root/conf/multiconfig/agl-kvm-guest.conf
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2022-11-23 13:36:06 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-12-14 16:28:09 +0000
commitab5676f1d6fac13ad7d92405d8c8ab0f6eb2217d (patch)
tree21d934ea6783ee074142779e433d3b8c68e5db0f /conf/multiconfig/agl-kvm-guest.conf
parent7568ba62fae0bc7a697c29f46d3175e684056b6c (diff)
Add agl-kvm feature template
Add feature template for enabling agl-kvm-guest multiconfig. Changes to leverage this to add a host image that includes guest VM images will follow. Bug-AGL: SPEC-4618 Change-Id: If8134359a1da7709d81b4ddd186d8c22de05280d Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit f65296a9c598ae81620e6c1d64ecf5f83bd11dee)
Diffstat (limited to 'conf/multiconfig/agl-kvm-guest.conf')
-rw-r--r--conf/multiconfig/agl-kvm-guest.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/conf/multiconfig/agl-kvm-guest.conf b/conf/multiconfig/agl-kvm-guest.conf
new file mode 100644
index 000000000..b13630db4
--- /dev/null
+++ b/conf/multiconfig/agl-kvm-guest.conf
@@ -0,0 +1,24 @@
+TMPDIR = "${TOPDIR}/tmp-${BB_CURRENT_MC}"
+
+MACHINE = "virtio-aarch64"
+
+# Avoid parse errors caused by linux-renesas, and all the other
+# random bbappends in meta-rcar-gen3.
+BBMASK += "meta-rcar-gen3/ meta-agl-refhw-gen3/"
+
+DISTRO_FEATURES:append = " kvm virtualization"
+
+# Use our own wks file
+WKS_FILE = "directdisk.wks.in"
+
+# We only need ext4 images for guests for now
+AGL_DEFAULT_IMAGE_FSTYPES = "ext4"
+AGL_EXTRA_IMAGE_FSTYPES = ""
+
+# Need to run QEMU with virtio-gpu device
+#PACKAGECONFIG:append:pn-qemu-system-native = " virglrenderer glx gtk+"
+PACKAGECONFIG:append:pn-qemu-system-target = " virglrenderer glx"
+
+# Until aglsetup.sh potentially changes to split features per multiconfig,
+# remove problematic ones from the host build here
+AGL_FEATURES:remove = "agl-refhw-h3"