On 16/8/26 21:13, Marc-André Lureau wrote:
The callback is specific to HMP context, avoid unsafe MONITOR_HMP()
cast.
Signed-off-by: Marc-André Lureau <[email protected]>
---
hw/char/virtio-serial-bus.c | 6 +++---
hw/core/sysbus.c | 5 ++---
hw/misc/auxbus.c | 7 +++----
hw/pci/pci-hmp-cmds.c | 3 +--
hw/pci/pci-internal.h | 2 +-
hw/usb/bus.c | 5 ++---
hw/xen/xen-bus.c | 3 +--
include/hw/core/qdev.h | 3 ++-
system/qdev-monitor.c | 7 +++----
9 files changed, 18 insertions(+), 23 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>