From 62b410682cb607db6830a9a7e7edc86e300f2fc3 Mon Sep 17 00:00:00 2001 From: Michele Paolino Date: Tue, 8 Aug 2017 11:14:09 +0200 Subject: Install qemu and create agl-egvirt machine feature qemu is the userspace emulator needed to run KVM virtual machines. This patch adds a bbappend for qemu in the meta-egvirt layer, and includes it in the packages to be installed in the AGL distro. To do this, the new agl-egvirt machine feature has been created and is used to enable virtualization specific extensions created by the EG-VIRT group for AGL. In order to reduce its impact on the AGL image, the qemu targets have been limited to aarch64 and x86_64 only. Changelog v2: - agl-egvirt added to MACHINE_FEATURES - use of class_target to not create conflict by the QEMU version used in the SDK and the one used by KVM - README file updated accordingly Bug-AGL: SPEC-718 Change-Id: I27288382443ba2bfe14d574ade2e691a63da145d Signed-off-by: Michele Paolino --- templates/feature/agl-egvirt/50_local.conf.inc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 templates/feature/agl-egvirt/50_local.conf.inc (limited to 'templates/feature/agl-egvirt/50_local.conf.inc') diff --git a/templates/feature/agl-egvirt/50_local.conf.inc b/templates/feature/agl-egvirt/50_local.conf.inc new file mode 100644 index 00000000..48590c40 --- /dev/null +++ b/templates/feature/agl-egvirt/50_local.conf.inc @@ -0,0 +1,9 @@ +#see meta-agl-devel/meta-egvirt/conf/include/agl_egvirt.inc +require conf/include/agl_egvirt.inc + +# In order to enable the agl virtualization features (agl-egvirt), +# each supported board needs to add in one of its configuration +# files (see for instance meta-agl/meta-agl-bsp/conf/include) +# the following line: +# +# MACHINE_FEATURES += "agl-egvirt" -- cgit 1.2.3-korg