Re: [PATCH 09/16] util/vfio-helpers: Convert vfio_dump_mapping to trace events

2020-10-22 Thread Stefan Hajnoczi
On Tue, Oct 20, 2020 at 07:24:21PM +0200, Philippe Mathieu-Daudé wrote: > The QEMU_VFIO_DEBUG definition is only modifiable at build-time. > Trace events can be enabled at run-time. As we prefer the latter, > convert qemu_vfio_dump_mappings() to use trace events instead > of fprintf(). > >

[PATCH 09/16] util/vfio-helpers: Convert vfio_dump_mapping to trace events

2020-10-20 Thread Philippe Mathieu-Daudé
The QEMU_VFIO_DEBUG definition is only modifiable at build-time. Trace events can be enabled at run-time. As we prefer the latter, convert qemu_vfio_dump_mappings() to use trace events instead of fprintf(). Reviewed-by: Fam Zheng Signed-off-by: Philippe Mathieu-Daudé --- util/vfio-helpers.c |