On 2026-10-01 17:12, Daniel P. Berrangé wrote:
Conditional checks must call trace_event_get_state_dynamic()
which checks the state of all backends, while trace_event_get_state()
only validates state for backends using QEMU's internal state
tracking.

Furthermore, checking qemu_loglevel_mask() is inappropriate since
there are many trace backends, of which 'log' is only one.

Signed-off-by: Daniel P. Berrangé <[email protected]>
---
  hw/ppc/vof.c | 13 ++++---------
  1 file changed, 4 insertions(+), 9 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to