From 8ffc613d126c9f46436f932f5443470a1d0e9abc Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Thu, 13 Aug 2020 15:08:12 -0700 Subject: xvisor-image-minimal: Initial commit of a Xvisor image Signed-off-by: Alistair Francis Signed-off-by: Bruce Ashfield --- recipes-extended/images/xvisor-image-minimal.bb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 recipes-extended/images/xvisor-image-minimal.bb diff --git a/recipes-extended/images/xvisor-image-minimal.bb b/recipes-extended/images/xvisor-image-minimal.bb new file mode 100644 index 00000000..4c4a2fc2 --- /dev/null +++ b/recipes-extended/images/xvisor-image-minimal.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "A minimal Xvisor image" + +INITRD_IMAGE = "core-image-minimal-initramfs" + +IMAGE_INSTALL += " \ + packagegroup-core-boot \ + packagegroup-core-ssh-openssh \ + " + +# The hypervisor may not be within the dom0 filesystem image but at least +# ensure that it is deployable: +do_build[depends] += "xvisor:do_deploy" + +LICENSE = "MIT" + +inherit core-image + +# Enable runqemu. eg: runqemu xvisor-image-minimal nographic slirp +QB_DEFAULT_KERNEL = "vmm.bin" +QB_OPT_APPEND_append_riscv64 = " -cpu rv64,x-h=true " -- cgit v1.2.3-54-g00ecf