2014-09-08 19:56:04 +02:00
|
|
|
Canonicalize hostarch name ppc64le to ppc64
|
|
|
|
|
|
|
|
See bnc#894956
|
|
|
|
|
Accepting request 328678 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.19
- Improved ppc64 support
- New virDomainRename API
- Support for new QEMU pci emulations
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Dropped upstream patches:
269d39af-storage-allocation-fix.patch,
26c5fa3a-virt-aa-helper-missing-doc.patch,
d25a5e08-virt-aa-helper-simplify-restriction-logic.patch,
2f01cfdf-virt-aa-helper-allow-ovmf.patch,
91fdcefa-virt-aa-helper-allow-nvram.patch,
52970dec-virt-aa-helper-improve-valid-path.patch,
44a54eb0-libxl-fix-refcnt-MigrationDstArgs.patch,
15120b8c-libxl-no-resume-on-suspend-fail.patch,
e80b84a7-libxl-acquire-job-on-migrate.patch,
60acb38-revert-curmem-inactive-dom.patch
OBS-URL: https://build.opensuse.org/request/show/328678
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=481
2015-09-02 17:27:32 +02:00
|
|
|
Index: libvirt-1.2.19/src/util/virarch.c
|
2014-09-08 19:56:04 +02:00
|
|
|
===================================================================
|
Accepting request 328678 from home:jfehlig:branches:Virtualization
- Update to libvirt 1.2.19
- Improved ppc64 support
- New virDomainRename API
- Support for new QEMU pci emulations
- Many incremental improvements and bug fixes, see
http://libvirt.org/news.html
- Dropped upstream patches:
269d39af-storage-allocation-fix.patch,
26c5fa3a-virt-aa-helper-missing-doc.patch,
d25a5e08-virt-aa-helper-simplify-restriction-logic.patch,
2f01cfdf-virt-aa-helper-allow-ovmf.patch,
91fdcefa-virt-aa-helper-allow-nvram.patch,
52970dec-virt-aa-helper-improve-valid-path.patch,
44a54eb0-libxl-fix-refcnt-MigrationDstArgs.patch,
15120b8c-libxl-no-resume-on-suspend-fail.patch,
e80b84a7-libxl-acquire-job-on-migrate.patch,
60acb38-revert-curmem-inactive-dom.patch
OBS-URL: https://build.opensuse.org/request/show/328678
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=481
2015-09-02 17:27:32 +02:00
|
|
|
--- libvirt-1.2.19.orig/src/util/virarch.c
|
|
|
|
+++ libvirt-1.2.19/src/util/virarch.c
|
2014-09-08 19:56:04 +02:00
|
|
|
@@ -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) {
|