diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-02-15 15:10:36 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-12-21 10:50:21 +0400 |
commit | f6ef71bded95d99106d4541cf1f420376818732e (patch) | |
tree | e966746361820e86e60c1483a9cbba4d3a22fd51 /include/ui | |
parent | 5e79d516e8ac818d2a90aae9f787775055434ee9 (diff) |
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.h | 6 | ||||
-rw-r--r-- | include/ui/spice-display.h | 4 |
2 files changed, 6 insertions, 4 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 diff --git a/include/ui/spice-display.h b/include/ui/spice-display.h index a2fbf62c52..e271e011da 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 |