Re: [Qemu-devel] [RFC PATCH] cputlb: modernise the debug support

2015-06-05 Thread Eric Blake
On 06/05/2015 09:55 AM, Alex Bennée wrote: > To avoid cluttering the code with #ifdef legs we wrap up the print > statements into a tlb_debug() macro. As access to the virtual TLB can > get quite heavy defining DEBUG_TLB_LOG will ensure all the logs go to > the qemu_log target of CPU_LOG_MMU instea

[Qemu-devel] [RFC PATCH] cputlb: modernise the debug support

2015-06-05 Thread Alex Bennée
To avoid cluttering the code with #ifdef legs we wrap up the print statements into a tlb_debug() macro. As access to the virtual TLB can get quite heavy defining DEBUG_TLB_LOG will ensure all the logs go to the qemu_log target of CPU_LOG_MMU instead of stderr. I've also removed DEBUG_TLB_CHECK whi