Revert "hmp: Disable chardev-add and chardev-remove"

This reverts commit 8a14952c9d.
This commit is contained in:
Gerd Hoffmann 2013-02-28 08:46:10 +01:00
parent 3ecc059dcd
commit 4692082540
1 changed files with 31 additions and 32 deletions

View File

@ -1522,38 +1522,37 @@ passed since 1970, i.e. unix epoch.
@end table @end table
ETEXI ETEXI
HXCOMM Disabled for now, because it isn't built on top of QMP's chardev-add {
HXCOMM { .name = "chardev-add",
HXCOMM .name = "chardev-add", .args_type = "args:s",
HXCOMM .args_type = "args:s", .params = "args",
HXCOMM .params = "args", .help = "add chardev",
HXCOMM .help = "add chardev", .mhandler.cmd = hmp_chardev_add,
HXCOMM .mhandler.cmd = hmp_chardev_add, },
HXCOMM },
HXCOMM STEXI
HXCOMM STEXI @item chardev_add args
HXCOMM @item chardev_add args @findex chardev_add
HXCOMM @findex chardev_add
HXCOMM chardev_add accepts the same parameters as the -chardev command line switch.
HXCOMM chardev_add accepts the same parameters as the -chardev command line switch.
HXCOMM ETEXI
HXCOMM ETEXI
HXCOMM {
HXCOMM { .name = "chardev-remove",
HXCOMM .name = "chardev-remove", .args_type = "id:s",
HXCOMM .args_type = "id:s", .params = "id",
HXCOMM .params = "id", .help = "remove chardev",
HXCOMM .help = "remove chardev", .mhandler.cmd = hmp_chardev_remove,
HXCOMM .mhandler.cmd = hmp_chardev_remove, },
HXCOMM },
HXCOMM STEXI
HXCOMM STEXI @item chardev_remove id
HXCOMM @item chardev_remove id @findex chardev_remove
HXCOMM @findex chardev_remove
HXCOMM Removes the chardev @var{id}.
HXCOMM Removes the chardev @var{id}.
HXCOMM ETEXI
HXCOMM ETEXI
{ {
.name = "info", .name = "info",