mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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:
parent
b40292e711
commit
637503d122
9 changed files with 0 additions and 368 deletions
16
qemu-char.c
16
qemu-char.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue