[Pkg-libvirt-commits] [libguestfs] 45/61: ppc64le: test-tool: Use correct qemu-system-ppc64 binary when creating qemu wrapper.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 31 19:09:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.28.2-1
in repository libguestfs.
commit dd2f0029cd7cfb91ec9ae2392f20110162ecef27
Author: Menanteau Guy <menantea at linux.vnet.ibm.com>
Date: Fri Oct 24 16:51:02 2014 +0100
ppc64le: test-tool: Use correct qemu-system-ppc64 binary when creating qemu wrapper.
(cherry picked from commit 5018e001290a585ed303bc311cdeeca6b5c11e98)
---
test-tool/test-tool.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c
index 3217a69..c0c4798 100644
--- a/test-tool/test-tool.c
+++ b/test-tool/test-tool.c
@@ -388,7 +388,11 @@ set_qemu (guestfs_h *g, const char *path, int use_wrapper)
"#!/bin/sh -\n"
"host_cpu=%s\n"
"qemudir='%s'\n"
+ "if [ $host_cpu != \"ppc64le\" ]; then \n"
"qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-$host_cpu\"\n"
+ "else"
+ "qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-ppc64\"\n"
+ "fi"
"exec \"$qemu\" -L \"$qemudir/pc-bios\" \"$@\"\n",
host_cpu, path);
fclose (fp);
--
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