Re: [Qemu-devel] [PATCH v2 1/8] usb-ccid: Add support to dump all USB packets

2017-07-27 Thread Stefan Fritsch
On Fri, 21 Jul 2017, Gerd Hoffmann wrote: > > index bef1f03c42..624dc2c447 100644 > > --- a/hw/usb/dev-smartcard-reader.c > > +++ b/hw/usb/dev-smartcard-reader.c > > @@ -54,9 +54,25 @@ do { \ > >  #define D_INFO 2 > >  #define D_MORE_INFO 3 > >  #define D_VERBOSE 4 > > +#define D_TRACE 5 > > +#def

Re: [Qemu-devel] [PATCH v2 1/8] usb-ccid: Add support to dump all USB packets

2017-07-20 Thread Gerd Hoffmann
> index bef1f03c42..624dc2c447 100644 > --- a/hw/usb/dev-smartcard-reader.c > +++ b/hw/usb/dev-smartcard-reader.c > @@ -54,9 +54,25 @@ do { \ >  #define D_INFO 2 >  #define D_MORE_INFO 3 >  #define D_VERBOSE 4 > +#define D_TRACE 5 > +#define D_REMOTEIO 10 Considered converting all DPRINTFs into tr

[Qemu-devel] [PATCH v2 1/8] usb-ccid: Add support to dump all USB packets

2017-07-20 Thread Stefan Fritsch
From: Stefan Fritsch The dump can be activated by the debug command line option for the device like this "qemu ... -dev usb,ccid,debug=5" While there move the short read debug message to a higher debug level. It triggers very often and makes debug output unreadable. Signed-off-by: Stefan Fritsc