mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
ppc64le: test-tool: Use correct qemu-system-ppc64 binary when creating qemu wrapper.
This commit is contained in:
committed by
Richard W.M. Jones
parent
a61d190ed3
commit
5018e00129
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user