[Pkg-libvirt-commits] [libguestfs] 49/146: build: Map host CPU 'powerpc64le' to qemu-system-ppc64.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 29 17:00:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit e7ca5cf124d60a7e1e0600806f1e506d5ef6914d
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
(cherry picked from commit de0b7c4e66ca97b97cebd842226eacd66a0633a4)
---
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 84875cc..d3b9fbb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -753,7 +753,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