mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-31 18:19:40 +00:00
37666b92cd
build_xmldesc only recognised cpumodel "ppc64" (big-endian) when deciding to set <os type arch='ppc64' machine='pseries'>, but ppc64le hosts report cpumodel "ppc64le" (virNodeGetInfo model). A guest on a ppc64le hypervisor was therefore emitted as an x86-style domain -- no machine type and with pae/acpi/apic -- and libvirt rejected it: "machine type 'pseries-*' does not support ACPI". Recognise "ppc64le" alongside "ppc64" for the arch/machine block, and omit the x86-only pae/acpi/apic features on both. Little- and big-endian pseries guests both use libvirt <os> arch "ppc64". Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>