Re: [RFC PATCH-for-7.2 1/4] hw/display/qxl: Have qxl_log_command Return early if no log_cmd handler

2022-11-28 Thread Marc-André Lureau
Hi On Fri, Nov 25, 2022 at 7:41 PM Philippe Mathieu-Daudé wrote: > > Only 3 command types are logged: no need to call qxl_phys2virt() > for the other types. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/display/qxl-logger.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff

[RFC PATCH-for-7.2 1/4] hw/display/qxl: Have qxl_log_command Return early if no log_cmd handler

2022-11-25 Thread Philippe Mathieu-Daudé
Only 3 command types are logged: no need to call qxl_phys2virt() for the other types. Signed-off-by: Philippe Mathieu-Daudé --- hw/display/qxl-logger.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/display/qxl-logger.c b/hw/display/qxl-logger.c index 68bfa47568..1bcf803db6