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

Re: [Xen-devel] [PATCH] Plumb through xen-platform device logging



> -----Original Message-----
> From: Don Slutz [mailto:dslutz@xxxxxxxxxxx]
> Sent: 11 July 2013 13:29
> To: Paul Durrant
> Cc: Ian Campbell; xen-devel@xxxxxxxxxxxxx
> Subject: Re: [Xen-devel] [PATCH] Plumb through xen-platform device logging
> 
> On 07/11/13 08:07, Paul Durrant wrote:
> >> -----Original Message-----
> >> From: Ian Campbell [mailto:ian.campbell@xxxxxxxxxx]
> >> Sent: 11 July 2013 12:44
> >> To: Paul Durrant
> >> Cc: xen-devel@xxxxxxxxxxxxx
> >> Subject: Re: [Xen-devel] [PATCH] Plumb through xen-platform device
> logging
> >>
> >> On Thu, 2013-07-11 at 08:23 +0000, Paul Durrant wrote:
> >>>> diff --git a/tools/Makefile b/tools/Makefile
> >>>> index e44a3e9..2d791a4 100644
> >>>> --- a/tools/Makefile
> >>>> +++ b/tools/Makefile
> >>>> @@ -202,7 +202,8 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
> >>>>                  --disable-kvm \
> >>>>                  --disable-docs \
> >>>>                  --python=$(PYTHON) \
> >>>> -                $(IOEMU_CONFIGURE_CROSS); \
> >>>> +                $(IOEMU_CONFIGURE_CROSS) \
> >>>> +                --enable-trace-backend=stderr; \
> I have done this in a more flexable way:
> 
> --- a/tools/Makefile
> +++ b/tools/Makefile
> 
> @@ -187,8 +185,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
>                  source=.; \
>          fi; \
>          cd qemu-xen-dir; \
> -       $$source/configure --enable-xen --target-list=i386-softmmu \
> -               --prefix=$(PREFIX) \
> +       $$source/configure --enable-xen
> $(QEMU_UPSTREAM_EXTRA_CONFIG)
> --target-list=i386-softmmu \
>                  --source-path=$$source \
>                  --extra-cflags="-I$(XEN_ROOT)/tools/include \
>                  -I$(XEN_ROOT)/tools/libxc \
> 
> I.E by adding QEMU_UPSTREAM_EXTRA_CONFIG which I add to .config
> when I
> want to turn on tracing.
> 

Perhaps we should have that, and maybe a dedicated QEMU_TRACE_BACKEND that 
defaults to stderr?

  Paul
 


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.