diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-04-18 07:30:40 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-25 14:45:46 -0500 |
commit | 14a936490bf90df32ab83d13563efe4b4c768c3c (patch) | |
tree | b484130f56c1b1d1a2ae2a105e2bd1caed3ae60e /include/ui/console.h | |
parent | aa2beaa1f57ca329cfceece08cc19d52368e6a8f (diff) |
console: add qemu_console_lookup_by_device
Look up the QemuConsole for a given device, using the new link.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/console.h')
-rw-r--r-- | include/ui/console.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index 6e69f7f889..c65940fe3b 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -287,6 +287,7 @@ void graphic_hw_invalidate(QemuConsole *con); void graphic_hw_text_update(QemuConsole *con, console_ch_t *chardata); QemuConsole *qemu_console_lookup_by_index(unsigned int index); +QemuConsole *qemu_console_lookup_by_device(DeviceState *dev); bool qemu_console_is_visible(QemuConsole *con); bool qemu_console_is_graphic(QemuConsole *con); bool qemu_console_is_fixedsize(QemuConsole *con); |