diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-12-10 17:16:08 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 07:59:49 -0600 |
commit | 588b38320134edee4a569f60ed88c9848961d6ee (patch) | |
tree | c8483cf34d82d4271cba8fd2428c76de472df08e /qemu-char.h | |
parent | 218a536a7a7c6d3679d5eca0103f32fd11fbfaf0 (diff) |
char: Convert qemu_chr_info() to QObject
Each device is represented by a QDict. The returned QObject is a QList
of all devices.
This commit should not change user output.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-char.h')
-rw-r--r-- | qemu-char.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qemu-char.h b/qemu-char.h index 7fa8e5cc15..bcc07664d3 100644 --- a/qemu-char.h +++ b/qemu-char.h @@ -5,6 +5,7 @@ #include "qemu-queue.h" #include "qemu-option.h" #include "qemu-config.h" +#include "qobject.h" /* character device */ @@ -88,7 +89,8 @@ int qemu_chr_can_read(CharDriverState *s); void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len); int qemu_chr_get_msgfd(CharDriverState *s); void qemu_chr_accept_input(CharDriverState *s); -void qemu_chr_info(Monitor *mon); +void qemu_chr_info_print(Monitor *mon, const QObject *ret_data); +void qemu_chr_info(Monitor *mon, QObject **ret_data); CharDriverState *qemu_chr_find(const char *name); extern int term_escape_char; |