summaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-02-28 08:46:10 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-03-13 10:27:47 +0100
commit46920825402d38a4111cca8099d1261f8f80c03c (patch)
tree176e99eb4808303af726813a2559d2d2c26eabbb /hmp-commands.hx
parent3ecc059dcd06a79495d1bf171ef7f193eff79e98 (diff)
downloadqemu-46920825402d38a4111cca8099d1261f8f80c03c.tar.gz
qemu-46920825402d38a4111cca8099d1261f8f80c03c.tar.bz2
qemu-46920825402d38a4111cca8099d1261f8f80c03c.zip
Revert "hmp: Disable chardev-add and chardev-remove"
This reverts commit 8a14952c9d2f5fa2b3caa6dc286b62ed5d26bca7.
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx63
1 files changed, 31 insertions, 32 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 4bda3fea0e..df44906ef9 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1522,38 +1522,37 @@ passed since 1970, i.e. unix epoch.
@end table
ETEXI
-HXCOMM Disabled for now, because it isn't built on top of QMP's chardev-add
-HXCOMM {
-HXCOMM .name = "chardev-add",
-HXCOMM .args_type = "args:s",
-HXCOMM .params = "args",
-HXCOMM .help = "add chardev",
-HXCOMM .mhandler.cmd = hmp_chardev_add,
-HXCOMM },
-HXCOMM
-HXCOMM STEXI
-HXCOMM @item chardev_add args
-HXCOMM @findex chardev_add
-HXCOMM
-HXCOMM chardev_add accepts the same parameters as the -chardev command line switch.
-HXCOMM
-HXCOMM ETEXI
-HXCOMM
-HXCOMM {
-HXCOMM .name = "chardev-remove",
-HXCOMM .args_type = "id:s",
-HXCOMM .params = "id",
-HXCOMM .help = "remove chardev",
-HXCOMM .mhandler.cmd = hmp_chardev_remove,
-HXCOMM },
-HXCOMM
-HXCOMM STEXI
-HXCOMM @item chardev_remove id
-HXCOMM @findex chardev_remove
-HXCOMM
-HXCOMM Removes the chardev @var{id}.
-HXCOMM
-HXCOMM ETEXI
+ {
+ .name = "chardev-add",
+ .args_type = "args:s",
+ .params = "args",
+ .help = "add chardev",
+ .mhandler.cmd = hmp_chardev_add,
+ },
+
+STEXI
+@item chardev_add args
+@findex chardev_add
+
+chardev_add accepts the same parameters as the -chardev command line switch.
+
+ETEXI
+
+ {
+ .name = "chardev-remove",
+ .args_type = "id:s",
+ .params = "id",
+ .help = "remove chardev",
+ .mhandler.cmd = hmp_chardev_remove,
+ },
+
+STEXI
+@item chardev_remove id
+@findex chardev_remove
+
+Removes the chardev @var{id}.
+
+ETEXI
{
.name = "info",