summaryrefslogtreecommitdiff
path: root/include/ui/console.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2021-02-15 15:10:36 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2021-12-21 10:50:21 +0400
commitf6ef71bded95d99106d4541cf1f420376818732e (patch)
treee966746361820e86e60c1483a9cbba4d3a22fd51 /include/ui/console.h
parent5e79d516e8ac818d2a90aae9f787775055434ee9 (diff)
downloadqemu-f6ef71bded95d99106d4541cf1f420376818732e.zip
ui: move qemu_spice_fill_device_address to ui/util.c
Other backends can use it. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/console.h')
-rw-r--r--include/ui/console.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index fe08b4dd04..eefd7e4dc1 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -495,4 +495,10 @@ int index_from_key(const char *key, size_t key_length);
int udmabuf_fd(void);
#endif
+/* util.c */
+bool qemu_console_fill_device_address(QemuConsole *con,
+ char *device_address,
+ size_t size,
+ Error **errp);
+
#endif