diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-12-19 10:33:40 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-01-16 06:58:54 +0100 |
commit | f10889089153edf032476b45229477866a9ca0b1 (patch) | |
tree | ec639cfa8fd71190a583f01179dca936264a6ca2 /hmp.h | |
parent | f1a1a35638bf045a2b158c0cb23d92ef39c06792 (diff) | |
download | qemu-f10889089153edf032476b45229477866a9ca0b1.zip qemu-f10889089153edf032476b45229477866a9ca0b1.tar.gz qemu-f10889089153edf032476b45229477866a9ca0b1.tar.bz2 |
chardev: add hmp hotplug commands
Add chardev-add and chardev-remove commands to the human monitor.
chardev-add accepts the same syntax as -chardev, chardev-remove
expects a chardev id.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hmp.h')
-rw-r--r-- | hmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -80,5 +80,7 @@ void hmp_screen_dump(Monitor *mon, const QDict *qdict); void hmp_nbd_server_start(Monitor *mon, const QDict *qdict); void hmp_nbd_server_add(Monitor *mon, const QDict *qdict); void hmp_nbd_server_stop(Monitor *mon, const QDict *qdict); +void hmp_chardev_add(Monitor *mon, const QDict *qdict); +void hmp_chardev_remove(Monitor *mon, const QDict *qdict); #endif |