Richard W.M. Jones
2018-Aug-28 11:59 UTC
[Libguestfs] [PATCH] ppc64le: Don't use -cpu parameter under any circumstances (RHBZ#1605071).
---
lib/appliance-cpu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/appliance-cpu.c b/lib/appliance-cpu.c
index a6c1b0faf..fa1bae3f9 100644
--- a/lib/appliance-cpu.c
+++ b/lib/appliance-cpu.c
@@ -76,6 +76,9 @@ guestfs_int_get_cpu_model (int kvm)
return "host";
else
return "cortex-a57";
+#elif defined(__powerpc64__)
+ /* See discussion in https://bugzilla.redhat.com/show_bug.cgi?id=1605071 */
+ return NULL;
#else
/* On most architectures, it is faster to pass the CPU host model to
* the appliance, allowing maximum speed for things like checksums
--
2.18.0
Reasonably Related Threads
- [PATCH] ppc64le: Use -machine cap-htm=off unconditionally (RHBZ#1614948).
- [PATCH v3] ppc64le: Use -machine cap-htm=off unconditionally (RHBZ#1614948).
- Re: [PATCH] ppc64le: Use -machine cap-htm=off unconditionally (RHBZ#1614948).
- [PATCH] ppc64le: Remove bogus __powerpc64le__.
- [PATCH v4 1/2] inspector: recognize ppc64 and ppc64le archs (RHBZ#1211996)
