diff options
Diffstat (limited to 'recipes-extended/images/xen-image-minimal.bb')
| -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" |
