mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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
This commit is contained in:
parent
70122d6230
commit
93ab5844b2
6 changed files with 20 additions and 39 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue