Monitor: Drop QMP documentation from code

Previous commit added QMP documentation to the qemu-monitor.hx
file, it's is a copy of this information.

While it's good to keep it near code, maintaining two copies of
the same information is too hard and has little benefit as we
don't expect client writers to consult the code to find how to
use a QMP command.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Luiz Capitulino 2010-05-31 14:43:32 -03:00 committed by Anthony Liguori
parent b40292e711
commit 637503d122
9 changed files with 0 additions and 368 deletions

View file

@ -2528,22 +2528,6 @@ void qemu_chr_info_print(Monitor *mon, const QObject *ret_data)
qlist_iter(qobject_to_qlist(ret_data), qemu_chr_qlist_iter, mon);
}
/**
* qemu_chr_info(): Character devices information
*
* Each device is represented by a QDict. The returned QObject is a QList
* of all devices.
*
* The QDict contains the following:
*
* - "label": device's label
* - "filename": device's file
*
* Example:
*
* [ { "label": "monitor", "filename", "stdio" },
* { "label": "serial0", "filename": "vc" } ]
*/
void qemu_chr_info(Monitor *mon, QObject **ret_data)
{
QList *chr_list;