From f65296a9c598ae81620e6c1d64ecf5f83bd11dee Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 23 Nov 2022 13:36:06 -0500 Subject: 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 --- conf/multiconfig/agl-kvm-guest.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 conf/multiconfig/agl-kvm-guest.conf (limited to 'conf/multiconfig') 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" -- cgit 1.2.3-korg