summary refs log tree commit diff stats
path: root/monitor/monitor-internal.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-12-11 18:11:33 +0100
committerMarkus Armbruster <armbru@redhat.com>2020-12-19 10:38:19 +0100
commit436054e22f8447692196ddae7012f6083140e461 (patch)
tree9565ada1065864b42ff5a31703065e09390c344c /monitor/monitor-internal.h
parent28f1c1f6e07c4bb4d79bed9474d1425c55e21712 (diff)
downloadfocaccia-qemu-436054e22f8447692196ddae7012f6083140e461.tar.gz
focaccia-qemu-436054e22f8447692196ddae7012f6083140e461.zip
hmp: Simplify how qmp_human_monitor_command() gets output
Commit 48c043d0d1 "hmp: human-monitor-command: stop using the Memory
chardev driver" left us "if string is non-empty, duplicate it, else
duplicate the empty string".  Meh.  Duplicate it unconditionally.

Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201211171152.146877-2-armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'monitor/monitor-internal.h')
0 files changed, 0 insertions, 0 deletions