From f6ef71bded95d99106d4541cf1f420376818732e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 15 Feb 2021 15:10:36 +0400 Subject: ui: move qemu_spice_fill_device_address to ui/util.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Other backends can use it. Signed-off-by: Marc-André Lureau Acked-by: Gerd Hoffmann --- include/ui/console.h | 6 ++++++ include/ui/spice-display.h | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'include/ui') 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 -- cgit v1.1