diff options
| author | Alistair Francis <alistair.francis@wdc.com> | 2020-08-13 15:08:12 -0700 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-08-16 21:18:21 -0400 |
| commit | 8ffc613d126c9f46436f932f5443470a1d0e9abc (patch) | |
| tree | 2c79623b1b883f35976040a2a6b3f1c1c59e9c9d | |
| parent | cc9572a7d6a25488601104589364fffc18b833ae (diff) | |
| download | meta-virtualization-8ffc613d126c9f46436f932f5443470a1d0e9abc.tar.gz | |
xvisor-image-minimal: Initial commit of a Xvisor image
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-extended/images/xvisor-image-minimal.bb | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ | |||
| 1 | DESCRIPTION = "A minimal Xvisor image" | ||
| 2 | |||
| 3 | INITRD_IMAGE = "core-image-minimal-initramfs" | ||
| 4 | |||
| 5 | IMAGE_INSTALL += " \ | ||
| 6 | packagegroup-core-boot \ | ||
| 7 | packagegroup-core-ssh-openssh \ | ||
| 8 | " | ||
| 9 | |||
| 10 | # The hypervisor may not be within the dom0 filesystem image but at least | ||
| 11 | # ensure that it is deployable: | ||
| 12 | do_build[depends] += "xvisor:do_deploy" | ||
| 13 | |||
| 14 | LICENSE = "MIT" | ||
| 15 | |||
| 16 | inherit core-image | ||
| 17 | |||
| 18 | # Enable runqemu. eg: runqemu xvisor-image-minimal nographic slirp | ||
| 19 | QB_DEFAULT_KERNEL = "vmm.bin" | ||
| 20 | QB_OPT_APPEND_append_riscv64 = " -cpu rv64,x-h=true " | ||
