aboutsummaryrefslogtreecommitdiff
path: root/include/ui
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
parent5e79d516e8ac818d2a90aae9f787775055434ee9 (diff)
downloadqemu-f6ef71bded95d99106d4541cf1f420376818732e.zip
qemu-f6ef71bded95d99106d4541cf1f420376818732e.tar.gz
qemu-f6ef71bded95d99106d4541cf1f420376818732e.tar.bz2
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')
-rw-r--r--include/ui/console.h6
-rw-r--r--include/ui/spice-display.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index fe08b4d..eefd7e4 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
diff --git a/include/ui/spice-display.h b/include/ui/spice-display.h
index a2fbf62..e271e01 100644
--- a/include/ui/spice-display.h
+++ b/include/ui/spice-display.h
@@ -184,8 +184,4 @@ void qemu_spice_display_start(void);
void qemu_spice_display_stop(void);
int qemu_spice_display_is_running(SimpleSpiceDisplay *ssd);
-bool qemu_spice_fill_device_address(QemuConsole *con,
- char *device_address,
- size_t size);
-
#endif