Revision 637503d1 qemu-char.c

b/qemu-char.c
2528 2528
    qlist_iter(qobject_to_qlist(ret_data), qemu_chr_qlist_iter, mon);
2529 2529
}
2530 2530

  
2531
/**
2532
 * qemu_chr_info(): Character devices information
2533
 *
2534
 * Each device is represented by a QDict. The returned QObject is a QList
2535
 * of all devices.
2536
 *
2537
 * The QDict contains the following:
2538
 *
2539
 * - "label": device's label
2540
 * - "filename": device's file
2541
 *
2542
 * Example:
2543
 *
2544
 * [ { "label": "monitor", "filename", "stdio" },
2545
 *   { "label": "serial0", "filename": "vc" } ]
2546
 */
2547 2531
void qemu_chr_info(Monitor *mon, QObject **ret_data)
2548 2532
{
2549 2533
    QList *chr_list;

Also available in: Unified diff