forked from pool/libvirt
- qemu: Fix segmentation fault in qemuDomainUndefineFlags 823a62ec-qemu-fix-undefine-crash.patch - Update to libvirt 8.1.0 - Many incremental improvements and bug fixes, see https://libvirt.org/news.html#v8-1-0-2022-03-01 - Dropped patches: 3be5ba11-libvirt-guests-install.patch, 16172741-libvirt-guests-manpage.patch, 8eb44616-remove-sysconfig-files.patch, 31e937fb-libxl-save-lock-indicator.patch, 105dace2-revert-virProcessGetStatInfo.patch, e0241f33-libxl-mark-allocated-graphics-ports.patch, 18ec405a-libxl-release-graphics-ports.patch, 76deb656-qemu-fix-snapshot-revert.patch, 454b927d-libxl-fix-dom-restore.patch OBS-URL: https://build.opensuse.org/request/show/959272 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=925
18 lines
628 B
Diff
18 lines
628 B
Diff
Canonicalize hostarch name ppc64le to ppc64
|
|
|
|
See bnc#894956
|
|
|
|
Index: libvirt-8.1.0/src/util/virarch.c
|
|
===================================================================
|
|
--- libvirt-8.1.0.orig/src/util/virarch.c
|
|
+++ libvirt-8.1.0/src/util/virarch.c
|
|
@@ -222,6 +222,8 @@ virArch virArchFromHost(void)
|
|
arch = VIR_ARCH_X86_64;
|
|
} else if (STREQ(ut.machine, "arm64")) {
|
|
arch = VIR_ARCH_AARCH64;
|
|
+ } else if (STREQ(ut.machine, "ppc64le")) {
|
|
+ arch = VIR_ARCH_PPC64;
|
|
} else {
|
|
/* Otherwise assume the canonical name */
|
|
if ((arch = virArchFromString(ut.machine)) == VIR_ARCH_NONE) {
|