All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-trivial] [PATCH] qemu-ga: build it even if !system
Date: Wed, 31 Jul 2013 14:27:27 +0400	[thread overview]
Message-ID: <51F8E68F.4030006@msgid.tls.msk.ru> (raw)
In-Reply-To: <1375266255-22207-1-git-send-email-mjt@msgid.tls.msk.ru>

31.07.2013 14:24, Michael Tokarev wrote:
> Move qemu-ga build check out of if softmmu.. into if tools section.
> We want to build qemu-ga for _guest_ even if system build isn't
> done.  It is controlled separately using --enable-guest-agent.

Actually the more I think about it... Maybe it shouldn't depend
on --enable-tools either, but should be an independent option.
Because it isn't really a tool.

The initial issue is - hopefully - clear.  Some obscure guest
which however supports virtio - it needs a guest agent, even
if qemu-system does not build on it.  Example is s390 (not s390x).

/mjt

> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>   configure |    8 +++-----
>   1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/configure b/configure
> index f0761ea..0105fd2 100755
> --- a/configure
> +++ b/configure
> @@ -3430,6 +3430,9 @@ if test "$want_tools" = "yes" ; then
>     tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools"
>     if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
>       tools="qemu-nbd\$(EXESUF) $tools"
> +    if [ "$guest_agent" = "yes" ]; then
> +      tools="qemu-ga\$(EXESUF) $tools"
> +    fi
>     fi
>   fi
>   if test "$softmmu" = yes ; then
> @@ -3444,11 +3447,6 @@ if test "$softmmu" = yes ; then
>         virtfs=no
>       fi
>     fi
> -  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
> -    if [ "$guest_agent" = "yes" ]; then
> -      tools="qemu-ga\$(EXESUF) $tools"
> -    fi
> -  fi
>   fi
>
>   # Mac OS X ships with a broken assembler
>



WARNING: multiple messages have this Message-ID (diff)
From: Michael Tokarev <mjt@tls.msk.ru>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qemu-ga: build it even if !system
Date: Wed, 31 Jul 2013 14:27:27 +0400	[thread overview]
Message-ID: <51F8E68F.4030006@msgid.tls.msk.ru> (raw)
In-Reply-To: <1375266255-22207-1-git-send-email-mjt@msgid.tls.msk.ru>

31.07.2013 14:24, Michael Tokarev wrote:
> Move qemu-ga build check out of if softmmu.. into if tools section.
> We want to build qemu-ga for _guest_ even if system build isn't
> done.  It is controlled separately using --enable-guest-agent.

Actually the more I think about it... Maybe it shouldn't depend
on --enable-tools either, but should be an independent option.
Because it isn't really a tool.

The initial issue is - hopefully - clear.  Some obscure guest
which however supports virtio - it needs a guest agent, even
if qemu-system does not build on it.  Example is s390 (not s390x).

/mjt

> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>   configure |    8 +++-----
>   1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/configure b/configure
> index f0761ea..0105fd2 100755
> --- a/configure
> +++ b/configure
> @@ -3430,6 +3430,9 @@ if test "$want_tools" = "yes" ; then
>     tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools"
>     if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
>       tools="qemu-nbd\$(EXESUF) $tools"
> +    if [ "$guest_agent" = "yes" ]; then
> +      tools="qemu-ga\$(EXESUF) $tools"
> +    fi
>     fi
>   fi
>   if test "$softmmu" = yes ; then
> @@ -3444,11 +3447,6 @@ if test "$softmmu" = yes ; then
>         virtfs=no
>       fi
>     fi
> -  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
> -    if [ "$guest_agent" = "yes" ]; then
> -      tools="qemu-ga\$(EXESUF) $tools"
> -    fi
> -  fi
>   fi
>
>   # Mac OS X ships with a broken assembler
>

  reply	other threads:[~2013-07-31 14:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-31 10:24 [Qemu-trivial] [PATCH] qemu-ga: build it even if !system Michael Tokarev
2013-07-31 10:24 ` [Qemu-devel] " Michael Tokarev
2013-07-31 10:27 ` Michael Tokarev [this message]
2013-07-31 10:27   ` Michael Tokarev
2013-07-31 11:05   ` [Qemu-trivial] " Peter Maydell
2013-07-31 11:05     ` Peter Maydell
2013-07-31 12:03     ` [Qemu-trivial] " Andreas Färber
2013-07-31 12:03       ` Andreas Färber
2013-07-31 12:24       ` [Qemu-trivial] " Michael Tokarev
2013-07-31 12:24         ` Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51F8E68F.4030006@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.