qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] configure: adding ppc64le to supported host CPUs


From: Daniel Henrique Barboza
Subject: [Qemu-devel] [PATCH] configure: adding ppc64le to supported host CPUs
Date: Wed, 1 Nov 2017 15:53:56 -0200

When executing 'configure' in a fresh QEMU clone, in a fresh
OS install running in a ppc64le host, this is the error
shown:

-----

../configure --enable-trace-backend=simple --enable-debug
    --target-list=ppc64-softmmu

ERROR: Unsupported CPU = ppc64le, try --enable-tcg-interpreter

-----

This isn't true, ppc64le host CPU is supported.

This patch adds 'ppc64le' to the list of supported host CPUs. After
this patch, the next error when executing configure in the
scenario mentioned is:

-----

../configure --enable-trace-backend=simple --enable-debug
    --target-list=ppc64-softmmu

ERROR: "cc" either does not exist or does not work

-----

Indicating that now we need a valid compiler to proceed.

Signed-off-by: Daniel Henrique Barboza <address@hidden>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 285d123dbf..38c1003fb3 100755
--- a/configure
+++ b/configure
@@ -637,7 +637,7 @@ ARCH=
 # Normalise host CPU name and set ARCH.
 # Note that this case should only have supported host CPUs, not guests.
 case "$cpu" in
-  ppc|ppc64|s390|s390x|sparc64|x32)
+  ppc|ppc64|ppc64le|s390|s390x|sparc64|x32)
     cpu="$cpu"
     supported_cpu="yes"
   ;;
-- 
2.13.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]