[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools: configure correct trace backend for QEMU
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@xxxxxxxxxx> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> I have queued this up for committing for 4.7 Wei. > --- > Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > Cc: Wei Liu <wei.liu2@xxxxxxxxxx> > --- > 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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |