Skip to contentSkip to conversation

build: use correct qemu emulator binary

PATCH In review Doug Goldstein 3 participants 3 messages Aug 25, 2015 – Aug 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: use correct qemu emulator binary

Per http://wiki.qemu.org/ChangeLog/1.0 and the fact that no currently supported distro ships the x86 system emulator binary as 'qemu', this changes the default when a user specifies --with-system-qemu without a PATH to 'qemu-system-i386', otherwise the default results in a non-functional setup.

---
 tools/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/configure.ac +1 -1
index c1fa658..7daec99 100644
@@ -177,7 +177,7 @@ AC_ARG_WITH([system-qemu],
         device model instead of building and installing our own version]),[
     case $withval in
         yes)
-            qemu_xen=n ; qemu_xen_path="qemu"
+            qemu_xen=n ; qemu_xen_path="qemu-system-i386"
             qemu_xen_systemd="/usr/bin/env $qemu_xen_path" ;;
         no)
             qemu_xen=y ;;
Signature · 1 line
2.1.4
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Doug Goldstein

Per http://wiki.qemu.org/ChangeLog/1.0 and the fact that no currently supported distro ships the x86 system emulator binary as 'qemu', this changes the default when a user specifies --with-system-qemu without a PATH to 'qemu-system-i386', otherwise the default results in a non-functional setup.

Ian, please rerun autogen.sh when applying this patch.

Quoted 25 lines
---
 tools/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/configure.ac +1 -1
index c1fa658..7daec99 100644
@@ -177,7 +177,7 @@ AC_ARG_WITH([system-qemu],
         device model instead of building and installing our own version]),[
     case $withval in
         yes)
-            qemu_xen=n ; qemu_xen_path="qemu"
+            qemu_xen=n ; qemu_xen_path="qemu-system-i386"
             qemu_xen_systemd="/usr/bin/env $qemu_xen_path" ;;
         no)
             qemu_xen=y ;;
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#2 lore raw

Wei Liu writes ("Re: [Xen-devel] [PATCH] build: use correct qemu emulator binary"):

Quoted 10 lines · Doug Goldstein
Quoted 7 lines

Per http://wiki.qemu.org/ChangeLog/1.0 and the fact that no currently supported distro ships the x86 system emulator binary as 'qemu', this changes the default when a user specifies --with-system-qemu without a PATH to 'qemu-system-i386', otherwise the default results in a non-functional setup.

Quoted 1 line

Ian, please rerun autogen.sh when applying this patch.

Done.

Thanks,
Ian.