You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
930 B

  1. From 3f07c9cb96b361f07ce637088f818bbe0edbcde3 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Fri, 7 Feb 2020 03:02:44 +0800
  4. Subject: [PATCH] configure: enable guest_agent no matter whether softmmu is
  5. enabled
  6. guest_agent as a tool to be run on guest machines does not depend on
  7. whether there is a softmmu is to be built at this configure/make run
  8. Fixes a512590 ("configure: qemu-ga is only needed with softmmu targets")
  9. ---
  10. configure | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. --- a/configure
  13. +++ b/configure
  14. @@ -6414,7 +6414,7 @@ fi
  15. # Probe for guest agent support/options
  16. if [ "$guest_agent" != "no" ]; then
  17. - if [ "$softmmu" = no -a "$want_tools" = no ] ; then
  18. + if [ "$guest_agent" = "" -a "$want_tools" = no ] ; then
  19. guest_agent=no
  20. elif [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" -o "$mingw32" = "yes" ] ; then
  21. tools="qemu-ga\$(EXESUF) $tools"