summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/images/xen-image-minimal.bb10
-rw-r--r--recipes-extended/vgabios/vgabios_0.8a.bb2
-rw-r--r--recipes-extended/xen-guest-bundles/alpine-xen-guest-bundle_3.23.bb7
-rw-r--r--wic/qemuboot-xen-x86-64.cfg2
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"
92WKS_FILE_DEPENDS_DEFAULT:x86-64 = "syslinux-native" 92WKS_FILE_DEPENDS_DEFAULT:x86-64 = "syslinux-native"
93WKS_FILE:qemux86-64 = "qemuboot-xen-x86-64.wks" 93WKS_FILE:qemux86-64 = "qemuboot-xen-x86-64.wks"
94WKS_FILE_DEPENDS_DEFAULT:qemux86-64 = "syslinux-native" 94WKS_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
96QB_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.
98QB_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.
102QB_MEM_VALUE = "1024"
97QB_XEN_CMDLINE_EXTRA = "dom0_mem=512M" 103QB_XEN_CMDLINE_EXTRA = "dom0_mem=512M"
98QB_DEFAULT_KERNEL ?= "none" 104QB_DEFAULT_KERNEL ?= "none"
99QB_DEFAULT_FSTYPE ?= "wic" 105QB_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
8LIC_FILES_CHKSUM = "file://COPYING;md5=fae731a3adbc92fd8bb1730d1f2455bc" 8LIC_FILES_CHKSUM = "file://COPYING;md5=fae731a3adbc92fd8bb1730d1f2455bc"
9 9
10SRC_URI = "http://savannah.gnu.org/download/vgabios/${BP}.tgz \ 10SRC_URI = "${SAVANNAH_GNU_MIRROR}/vgabios/${BP}.tgz \
11 file://build-cc.patch" 11 file://build-cc.patch"
12SRC_URI[sha256sum] = "481042240ef0f1c918780c92a6bb42ad4d3f5d989b29502fa7ee7faf13a041b9" 12SRC_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
24inherit xen-guest-bundle 24inherit xen-guest-bundle
25 25
26S = "${UNPACKDIR}"
27
26ALPINE_VERSION = "3.23.3" 28ALPINE_VERSION = "3.23.3"
27ALPINE_ARCH = "aarch64" 29ALPINE_ARCH = "aarch64"
28ALPINE_ARCH:x86-64 = "x86_64" 30ALPINE_ARCH:x86-64 = "x86_64"
29 31
30SRC_URI = "https://dl-cdn.alpinelinux.org/alpine/v3.23/releases/${ALPINE_ARCH}/alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz;subdir=alpine-rootfs" 32SRC_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}"
31SRC_URI[sha256sum] = "f219bb9d65febed9046951b19f2b893b331315740af32c47e39b38fcca4be543" 33SRC_URI[aarch64.sha256sum] = "f219bb9d65febed9046951b19f2b893b331315740af32c47e39b38fcca4be543"
34SRC_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)
34XEN_GUEST_BUNDLES = "alpine:autostart:external" 37XEN_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
6LABEL boot 6LABEL 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