mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
test-tool: Map powerpc64 -> ppc64 when searching for qemu.
Consequence of the previous commit. This also adjusts the whitespace to make the generated script a bit nicer.
This commit is contained in:
@@ -389,14 +389,16 @@ set_qemu (guestfs_h *g, const char *path, int use_wrapper)
|
||||
"host_cpu=%s\n"
|
||||
"qemudir='%s'\n"
|
||||
"case $host_cpu in\n"
|
||||
" amd64*) qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-x86_64\"\n"
|
||||
" ;;\n"
|
||||
" amd64*)\n"
|
||||
" qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-x86_64\"\n"
|
||||
" ;;\n"
|
||||
" arm*) qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-arm\"\n"
|
||||
" ;;\n"
|
||||
" ppc64le) qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-ppc64\"\n"
|
||||
" ;;\n"
|
||||
" *) qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-$host_cpu\"\n"
|
||||
" ;;\n"
|
||||
" powerpc64|ppc64le)\n"
|
||||
" qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-ppc64\"\n"
|
||||
" ;;\n"
|
||||
" *) qemu=\"$qemudir/$host_cpu-softmmu/qemu-system-$host_cpu\"\n"
|
||||
" ;;\n"
|
||||
"esac\n"
|
||||
"exec \"$qemu\" -L \"$qemudir/pc-bios\" \"$@\"\n",
|
||||
host_cpu, path);
|
||||
|
||||
Reference in New Issue
Block a user