From 637503d122eb7656d91a8489e254d9e880be7504 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 31 May 2010 14:43:32 -0300 Subject: 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 Signed-off-by: Anthony Liguori --- qemu-char.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'qemu-char.c') diff --git a/qemu-char.c b/qemu-char.c index ac65a1c806..faaf6248b5 100644 --- a/qemu-char.c +++ b/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; -- cgit v1.2.3