[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 39/49] qdev-monitor: make print_dev() callback take MonitorHMP



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 <marcandre.lureau@xxxxxxxxxx>
---
  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é <philmd@xxxxxxxxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.