diff options
author | Gerd Hoffmann | 2020-10-14 14:11:17 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2020-10-15 11:14:40 +0200 |
commit | 93ab5844b2cd5367966d7b5bae154e0d3303b504 (patch) | |
tree | fdc01b73d9999cb0970d77105fd24a44b25efceb /include/ui/qemu-spice.h | |
parent | chardev/spice: make qemu_chr_open_spice_port static (diff) | |
download | qemu-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.h | 1 |
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 */ |