diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2017-06-29 17:37:11 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2017-06-29 17:37:11 +0100 |
| commit | c5eb5846d2d207bbde7f4b665d9ff90b92c8adff (patch) | |
| tree | 0c6c05f44eae0cca3dae76962669e524a3d5125f /hmp.c | |
| parent | 454d7dc9bc13e46084e0612076e6952c40f4afeb (diff) | |
| parent | bd1d5ad9f9a1347d6f4338f294253617c565c89a (diff) | |
| download | focaccia-qemu-c5eb5846d2d207bbde7f4b665d9ff90b92c8adff.tar.gz focaccia-qemu-c5eb5846d2d207bbde7f4b665d9ff90b92c8adff.zip | |
Merge remote-tracking branch 'remotes/dgilbert/tags/pull-hmp-20170629' into staging
HMP pull 2017-06-29 # gpg: Signature made Thu 29 Jun 2017 17:27:55 BST # gpg: using RSA key 0x0516331EBC5BFDE7 # gpg: Good signature from "Dr. David Alan Gilbert (RH2) <dgilbert@redhat.com>" # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 45F5 C71B 4A0C B7FB 977A 9FA9 0516 331E BC5B FDE7 * remotes/dgilbert/tags/pull-hmp-20170629: Add chardev-send-break monitor command monitor: Add -a (all) option to info registers Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hmp.c')
| -rw-r--r-- | hmp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c index 4c41cac625..dee40284c1 100644 --- a/hmp.c +++ b/hmp.c @@ -2236,6 +2236,14 @@ void hmp_chardev_remove(Monitor *mon, const QDict *qdict) hmp_handle_error(mon, &local_err); } +void hmp_chardev_send_break(Monitor *mon, const QDict *qdict) +{ + Error *local_err = NULL; + + qmp_chardev_send_break(qdict_get_str(qdict, "id"), &local_err); + hmp_handle_error(mon, &local_err); +} + void hmp_qemu_io(Monitor *mon, const QDict *qdict) { BlockBackend *blk; |