diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-19 22:35:54 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-26 01:05:01 +0000 |
| commit | 5c891aab54f1432f2afe75bf0dee0027fbb2e4bd (patch) | |
| tree | ca646a598c58cf05792b8094fd246681c962375d /recipes-extended/images | |
| parent | c734621380aed127ee515839aeeb8126f2dcf9ad (diff) | |
| download | meta-virtualization-5c891aab54f1432f2afe75bf0dee0027fbb2e4bd.tar.gz | |
xen: fix x86-64 boot and guest bundling issues
Fix several issues found during x86-64 Xen testing:
- xen-image-minimal: use -cpu host for KVM to avoid Xen CPUID
filtering stripping AVX/AVX2 from x86-64-v3 builds, causing
illegal instruction crashes in Dom0
- xen-image-minimal: use QB_MEM_VALUE (not QB_MEM) to properly
override the hard assignment in qemuboot-xen-defaults.bbclass
- xen-image-minimal: set dom0_mem=512M via QB_XEN_CMDLINE_EXTRA
- qemuboot-xen-x86-64.cfg: add dom0_mem=512M to static syslinux
config so guest autostart has memory available
- vgabios: use ${SAVANNAH_GNU_MIRROR} for reliable downloads
- alpine-xen-guest-bundle: add per-architecture checksums for
aarch64 and x86_64 tarballs, fix S variable warning
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/images')
| -rw-r--r-- | recipes-extended/images/xen-image-minimal.bb | 10 |
1 files changed, 8 insertions, 2 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" |
