summaryrefslogtreecommitdiffstats
path: root/include/ui/qemu-spice.h
diff options
context:
space:
mode:
authorGerd Hoffmann2020-10-14 14:11:17 +0200
committerGerd Hoffmann2020-10-15 11:14:40 +0200
commit93ab5844b2cd5367966d7b5bae154e0d3303b504 (patch)
treefdc01b73d9999cb0970d77105fd24a44b25efceb /include/ui/qemu-spice.h
parentchardev/spice: make qemu_chr_open_spice_port static (diff)
downloadqemu-93ab5844b2cd5367966d7b5bae154e0d3303b504.tar.gz
qemu-93ab5844b2cd5367966d7b5bae154e0d3303b504.tar.xz
qemu-93ab5844b2cd5367966d7b5bae154e0d3303b504.zip
chardev/spice: simplify chardev setup
Initialize spice before chardevs. That allows to register the spice chardevs directly in the init function and removes the need to maintain a linked list of chardevs just for registration. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20201014121120.13482-5-kraxel@redhat.com
Diffstat (limited to 'include/ui/qemu-spice.h')
-rw-r--r--include/ui/qemu-spice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ui/qemu-spice.h b/include/ui/qemu-spice.h
index 12474d88f4..0e8ec3f0d7 100644
--- a/include/ui/qemu-spice.h
+++ b/include/ui/qemu-spice.h
@@ -45,7 +45,6 @@ int qemu_spice_migrate_info(const char *hostname, int port, int tls_port,
#else
#define SPICE_NEEDS_SET_MM_TIME 0
#endif
-void qemu_spice_register_ports(void);
#else /* CONFIG_SPICE */