[Libguestfs] [PATCH 16/16] configure: map also amd64 as host_cpu to x86_64 qemu

Pino Toscano ptoscano at redhat.com
Thu Oct 23 18:18:44 UTC 2014


---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 8cd29d7..6174c7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -733,7 +733,8 @@ dnl back to basic 'qemu'.  Allow the user to override it.
 qemu_system="$(
     echo qemu-system-$host_cpu |
     $SED -e 's/-i@<:@456@:>@86/-i386/g' \
-         -e 's/-arm.*/-arm/g'
+         -e 's/-arm.*/-arm/g' \
+         -e 's/-amd64/-x86_64/g'
     )"
 default_qemu="qemu-kvm kvm $qemu_system qemu"
 AC_ARG_WITH([qemu],
-- 
1.9.3




More information about the Libguestfs mailing list