mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
qemu-char: move spice registration to spice-qemu-char.c
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Amit Shah <amit.shah@redhat.com> Message-id: 49a8d12eeb117e5530b2fab02af7681b54f9245c.1362505276.git.amit.shah@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
d654f34ec8
commit
26c6061452
2 changed files with 10 additions and 6 deletions
|
|
@ -307,3 +307,13 @@ void qemu_spice_register_ports(void)
|
|||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static void register_types(void)
|
||||
{
|
||||
register_char_driver("spicevmc", qemu_chr_open_spice);
|
||||
#if SPICE_SERVER_VERSION >= 0x000c02
|
||||
register_char_driver("spiceport", qemu_chr_open_spice_port);
|
||||
#endif
|
||||
}
|
||||
|
||||
type_init(register_types);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue