Re: [Qemu-devel] [PATCH v5 9/9] cputlb: modernise the debug support

2016-02-04 Thread Richard Henderson
On 02/05/2016 01:56 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 instead of s

[Qemu-devel] [PATCH v5 9/9] cputlb: modernise the debug support

2016-02-04 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. This remains compile time optional as