[Pkg-libvirt-commits] [libguestfs] 36/384: build: Map host CPU 'powerpc64le' to qemu-system-ppc64.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:55:18 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit de0b7c4e66ca97b97cebd842226eacd66a0633a4
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Tue Dec 2 09:50:02 2014 +0000

    build: Map host CPU 'powerpc64le' to qemu-system-ppc64.
    
    Make the corresponding change in libguestfs-test-tool as well.
    
    Thanks: Dan Horák
---
 configure.ac          | 2 +-
 test-tool/test-tool.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0b34ae3..80115f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -760,7 +760,7 @@ AS_CASE([$host_cpu],
         [i@<:@456@:>@86],[qemu_cpu=i386],
         [arm*],[qemu_cpu=arm],
         [amd64],[qemu_cpu=x86_64],
-        [powerpc64 | ppc64le],[qemu_cpu=ppc64],
+        [powerpc64 | ppc64le | powerpc64le],[qemu_cpu=ppc64],
         [qemu_cpu=$host_cpu])
 default_qemu="qemu-kvm kvm qemu-system-$qemu_cpu qemu"
 AC_ARG_WITH([qemu],
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c
index f3eb59d..4db39a3 100644
--- a/test-tool/test-tool.c
+++ b/test-tool/test-tool.c
@@ -394,7 +394,7 @@ set_qemu (guestfs_h *g, const char *path, int use_wrapper)
            "          ;;\n"
            "    arm*) qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-arm\"\n"
            "          ;;\n"
-           "    powerpc64|ppc64le)\n"
+           "    powerpc64|ppc64le|powerpc64le)\n"
            "          qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-ppc64\"\n"
            "          ;;\n"
            "    *)    qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-$host_cpu\"\n"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list