qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 3/5] configure: qemu-ga is only needed with softm


From: Laurent Vivier
Subject: [Qemu-devel] [PATCH v2 3/5] configure: qemu-ga is only needed with softmmu targets
Date: Thu, 28 Mar 2019 17:00:59 +0100

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 <address@hidden>
[lv: I also disable it with disable-tools, not only with disable-system]
Signed-off-by: Laurent Vivier <address@hidden>
---
 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index c5032425e6d3..4d781900ffe1 100755
--- a/configure
+++ b/configure
@@ -6056,7 +6056,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
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]