]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
configure: qemu-ga is only needed with softmmu targets
authorLaurent Vivier <lvivier@redhat.com>
Mon, 1 Apr 2019 14:12:20 +0000 (16:12 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 May 2019 13:19:39 +0000 (15:19 +0200)
Remove it from the list of tools if --disable-system
and --disable-tools are used as we don't need it for
linux-user targets.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
[lv: I also disable it with disable-tools, not only with disable-system]
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20190401141222.30034-4-lvivier@redhat.com>

configure

index 8999698bc2793cbfdc05a215ae696be5dbb2d588..d2fc3463022e4126327dd58845702e54bdae4f34 100755 (executable)
--- a/configure
+++ b/configure
@@ -6079,7 +6079,9 @@ fi
 # Probe for guest agent support/options
 
 if [ "$guest_agent" != "no" ]; then
-  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then
+  if [ "$softmmu" = no -a "$want_tools" = no ] ; then
+      guest_agent=no
+  elif [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then
       tools="qemu-ga $tools"
       guest_agent=yes
   elif [ "$guest_agent" != yes ]; then