summaryrefslogtreecommitdiffstats
path: root/include/ui/qemu-spice.h
diff options
context:
space:
mode:
authorGerd Hoffmann2020-10-19 09:52:14 +0200
committerGerd Hoffmann2020-10-21 15:46:14 +0200
commitb192cd1e4f9321b74e1d8b13b94a239a4750abfb (patch)
tree44814e1dd885c6ac5246100b003336e0cd480618 /include/ui/qemu-spice.h
parentspice: move qemu_spice_init() to QemuSpiceOps. (diff)
downloadqemu-b192cd1e4f9321b74e1d8b13b94a239a4750abfb.tar.gz
qemu-b192cd1e4f9321b74e1d8b13b94a239a4750abfb.tar.xz
qemu-b192cd1e4f9321b74e1d8b13b94a239a4750abfb.zip
spice: move display_init() to QemuSpiceOps.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20201019075224.14803-5-kraxel@redhat.com
Diffstat (limited to 'include/ui/qemu-spice.h')
-rw-r--r--include/ui/qemu-spice.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/ui/qemu-spice.h b/include/ui/qemu-spice.h
index e6df0a8715..a3fd1ea5ad 100644
--- a/include/ui/qemu-spice.h
+++ b/include/ui/qemu-spice.h
@@ -66,13 +66,6 @@ static inline int qemu_spice_display_add_client(int csock, int skipauth,
return -1;
}
-static inline void qemu_spice_display_init(void)
-{
- /* This must never be called if CONFIG_SPICE is disabled */
- error_report("spice support is disabled");
- abort();
-}
-
#endif /* CONFIG_SPICE */
static inline bool qemu_using_spice(Error **errp)