SHA256
1
0
forked from pool/libvirt
libvirt/ppc64le-canonical-name.patch
James Fehlig 96a1f2af34 Accepting request 491883 from home:jfehlig:branches:Virtualization
- Update to libvirt 3.3.0 RC1
  - Many incremental improvements and bug fixes, see
    http://libvirt.org/news.html
  - Dropped patches:
    ae102b5d7-qemu-fix-regression-when-hyperv-vendor_id-feature-is-used.patch
  - Bug fixes:
    bsc#978121, bsc#1017017, bsc#1032863, bsc#1033117, bsc#1034024,
    bsc#1034146
- libxl: add default controllers for USB devices
  libxl-def-usbctrl.patch
  bsc#1031056

OBS-URL: https://build.opensuse.org/request/show/491883
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=599
2017-04-28 16:14:51 +00:00

18 lines
625 B
Diff

Canonicalize hostarch name ppc64le to ppc64
See bnc#894956
Index: libvirt-3.3.0/src/util/virarch.c
===================================================================
--- libvirt-3.3.0.orig/src/util/virarch.c
+++ libvirt-3.3.0/src/util/virarch.c
@@ -169,6 +169,8 @@ virArch virArchFromHost(void)
arch = VIR_ARCH_I686;
} else if (STREQ(ut.machine, "amd64")) {
arch = VIR_ARCH_X86_64;
+ } else if (STREQ(ut.machine, "ppc64le")) {
+ arch = VIR_ARCH_PPC64;
} else {
/* Otherwise assume the canonical name */
if ((arch = virArchFromString(ut.machine)) == VIR_ARCH_NONE) {