diff options
| -rw-r--r-- | recipes-extended/images/xen-image-minimal.bb | 10 | ||||
| -rw-r--r-- | recipes-extended/vgabios/vgabios_0.8a.bb | 2 | ||||
| -rw-r--r-- | recipes-extended/xen-guest-bundles/alpine-xen-guest-bundle_3.23.bb | 7 | ||||
| -rw-r--r-- | wic/qemuboot-xen-x86-64.cfg | 2 |
4 files changed, 15 insertions, 6 deletions
diff --git a/recipes-extended/images/xen-image-minimal.bb b/recipes-extended/images/xen-image-minimal.bb index 68b5b029..f4ab99d8 100644 --- a/recipes-extended/images/xen-image-minimal.bb +++ b/recipes-extended/images/xen-image-minimal.bb | |||
| @@ -92,8 +92,14 @@ WKS_FILE:x86-64 = "directdisk-xen.wks" | |||
| 92 | WKS_FILE_DEPENDS_DEFAULT:x86-64 = "syslinux-native" | 92 | WKS_FILE_DEPENDS_DEFAULT:x86-64 = "syslinux-native" |
| 93 | WKS_FILE:qemux86-64 = "qemuboot-xen-x86-64.wks" | 93 | WKS_FILE:qemux86-64 = "qemuboot-xen-x86-64.wks" |
| 94 | WKS_FILE_DEPENDS_DEFAULT:qemux86-64 = "syslinux-native" | 94 | WKS_FILE_DEPENDS_DEFAULT:qemux86-64 = "syslinux-native" |
| 95 | # Dom0 needs enough memory for containerd + vxn DomU management | 95 | # Xen Dom0 needs the full host CPU feature set (AVX, AVX2, etc.) since |
| 96 | QB_MEM ?= "-m 1024" | 96 | # the machine default Skylake-Client model can lose features through Xen's |
| 97 | # nested CPUID filtering, causing illegal instruction crashes with x86-64-v3. | ||
| 98 | QB_CPU_KVM:qemux86-64 = "-cpu host -machine q35,i8042=off" | ||
| 99 | # Dom0 needs enough memory for containerd + vxn DomU management. | ||
| 100 | # QB_MEM_VALUE overrides the ??= default in qemuboot-xen-defaults; | ||
| 101 | # QB_MEM itself is a hard assign in the class so ?= here won't work. | ||
| 102 | QB_MEM_VALUE = "1024" | ||
| 97 | QB_XEN_CMDLINE_EXTRA = "dom0_mem=512M" | 103 | QB_XEN_CMDLINE_EXTRA = "dom0_mem=512M" |
| 98 | QB_DEFAULT_KERNEL ?= "none" | 104 | QB_DEFAULT_KERNEL ?= "none" |
| 99 | QB_DEFAULT_FSTYPE ?= "wic" | 105 | QB_DEFAULT_FSTYPE ?= "wic" |
diff --git a/recipes-extended/vgabios/vgabios_0.8a.bb b/recipes-extended/vgabios/vgabios_0.8a.bb index 044bb4ec..9a996955 100644 --- a/recipes-extended/vgabios/vgabios_0.8a.bb +++ b/recipes-extended/vgabios/vgabios_0.8a.bb | |||
| @@ -7,7 +7,7 @@ DEPENDS = "dev86-native" | |||
| 7 | 7 | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=fae731a3adbc92fd8bb1730d1f2455bc" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=fae731a3adbc92fd8bb1730d1f2455bc" |
| 9 | 9 | ||
| 10 | SRC_URI = "http://savannah.gnu.org/download/vgabios/${BP}.tgz \ | 10 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/vgabios/${BP}.tgz \ |
| 11 | file://build-cc.patch" | 11 | file://build-cc.patch" |
| 12 | SRC_URI[sha256sum] = "481042240ef0f1c918780c92a6bb42ad4d3f5d989b29502fa7ee7faf13a041b9" | 12 | SRC_URI[sha256sum] = "481042240ef0f1c918780c92a6bb42ad4d3f5d989b29502fa7ee7faf13a041b9" |
| 13 | 13 | ||
diff --git a/recipes-extended/xen-guest-bundles/alpine-xen-guest-bundle_3.23.bb b/recipes-extended/xen-guest-bundles/alpine-xen-guest-bundle_3.23.bb index 6b9c9d79..8d45cd8d 100644 --- a/recipes-extended/xen-guest-bundles/alpine-xen-guest-bundle_3.23.bb +++ b/recipes-extended/xen-guest-bundles/alpine-xen-guest-bundle_3.23.bb | |||
| @@ -23,12 +23,15 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
| 23 | 23 | ||
| 24 | inherit xen-guest-bundle | 24 | inherit xen-guest-bundle |
| 25 | 25 | ||
| 26 | S = "${UNPACKDIR}" | ||
| 27 | |||
| 26 | ALPINE_VERSION = "3.23.3" | 28 | ALPINE_VERSION = "3.23.3" |
| 27 | ALPINE_ARCH = "aarch64" | 29 | ALPINE_ARCH = "aarch64" |
| 28 | ALPINE_ARCH:x86-64 = "x86_64" | 30 | ALPINE_ARCH:x86-64 = "x86_64" |
| 29 | 31 | ||
| 30 | SRC_URI = "https://dl-cdn.alpinelinux.org/alpine/v3.23/releases/${ALPINE_ARCH}/alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz;subdir=alpine-rootfs" | 32 | SRC_URI = "https://dl-cdn.alpinelinux.org/alpine/v3.23/releases/${ALPINE_ARCH}/alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz;subdir=alpine-rootfs;name=${ALPINE_ARCH}" |
| 31 | SRC_URI[sha256sum] = "f219bb9d65febed9046951b19f2b893b331315740af32c47e39b38fcca4be543" | 33 | SRC_URI[aarch64.sha256sum] = "f219bb9d65febed9046951b19f2b893b331315740af32c47e39b38fcca4be543" |
| 34 | SRC_URI[x86_64.sha256sum] = "42d0e6d8de5521e7bf92e075e032b5690c1d948fa9775efa32a51a38b25460fb" | ||
| 32 | 35 | ||
| 33 | # Guest definition: name is "alpine", autostart, external (no Yocto image dep) | 36 | # Guest definition: name is "alpine", autostart, external (no Yocto image dep) |
| 34 | XEN_GUEST_BUNDLES = "alpine:autostart:external" | 37 | XEN_GUEST_BUNDLES = "alpine:autostart:external" |
diff --git a/wic/qemuboot-xen-x86-64.cfg b/wic/qemuboot-xen-x86-64.cfg index 94fb0890..eb3a4736 100644 --- a/wic/qemuboot-xen-x86-64.cfg +++ b/wic/qemuboot-xen-x86-64.cfg | |||
| @@ -5,4 +5,4 @@ SERIAL 0 115200 | |||
| 5 | 5 | ||
| 6 | LABEL boot | 6 | LABEL boot |
| 7 | KERNEL mboot.c32 | 7 | KERNEL mboot.c32 |
| 8 | APPEND /xen.gz console=com1,vga com1=115200,8n1 loglvl=all guest_loglvl=all --- /bZimage console=hvc0 earlyprintk=xen root=/dev/sda2 pmtmr=0 | 8 | APPEND /xen.gz dom0_mem=512M console=com1,vga com1=115200,8n1 loglvl=all guest_loglvl=all --- /bZimage console=hvc0 earlyprintk=xen root=/dev/sda2 pmtmr=0 |
