xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Paul Durrant <paul.durrant@citrix.com>
Cc: xen-devel@lists.xenproject.org,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Wei Liu <wei.liu2@citrix.com>
Subject: Re: [PATCH] tools: configure correct trace backend for QEMU
Date: Tue, 10 May 2016 11:57:30 +0100	[thread overview]
Message-ID: <20160510105730.GA12241@citrix.com> (raw)
In-Reply-To: <1462812194-8369-1-git-send-email-paul.durrant@citrix.com>

On Mon, May 09, 2016 at 05:43:14PM +0100, Paul Durrant wrote:
> Newer versions of the QEMU source have replaced the 'stderr' trace
> backend with 'log'. This patch adjusts the tools Makefile to test for
> the 'log' backend and specify it if it is available.
> 
> Signed-off-by: Paul Durrant <paul.durrant@citrix.com>

Acked-by: Wei Liu <wei.liu2@citrix.com>

I have queued this up for committing for 4.7

Wei.

> ---
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
> ---
>  tools/Makefile | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tools/Makefile b/tools/Makefile
> index 3f45fb9..6440dec 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -240,7 +240,9 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
>  		source=.; \
>  	fi; \
>  	cd qemu-xen-dir; \
> -	if $$source/scripts/tracetool.py --check-backend --backend stderr ; then \
> +	if $$source/scripts/tracetool.py --check-backend --backend log ; then \
> +		enable_trace_backend='--enable-trace-backend=log'; \
> +	elif $$source/scripts/tracetool.py --check-backend --backend stderr ; then \
>  		enable_trace_backend='--enable-trace-backend=stderr'; \
>  	else \
>  		enable_trace_backend='' ; \
> -- 
> 2.1.4
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2016-05-10 10:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-09 16:43 [PATCH] tools: configure correct trace backend for QEMU Paul Durrant
2016-05-10 10:57 ` Wei Liu [this message]
2016-05-10 12:38   ` Paul Durrant

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=20160510105730.GA12241@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=paul.durrant@citrix.com \
    --cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).