Officialise the QMP command, use the existing
hmp_info_human_readable_text() helper.

Philippe Mathieu-Daudé (2):
  hw/misc/mos6522: Expose x-query-mos6522-devices QMP command
  hw/misc/mos6522: Do not open-code hmp_info_human_readable_text()

 MAINTAINERS                  |  2 +-
 qapi/machine.json            | 17 +++++++++++++++++
 include/hw/misc/mos6522.h    |  2 --
 include/monitor/hmp-target.h |  1 -
 hw/misc/mos6522-stubs.c      | 18 ++++++++++++++++++
 hw/misc/mos6522.c            | 16 ++--------------
 hmp-commands-info.hx         |  2 +-
 hw/misc/meson.build          |  3 ++-
 8 files changed, 41 insertions(+), 20 deletions(-)
 create mode 100644 hw/misc/mos6522-stubs.c

-- 
2.41.0


Reply via email to