mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
chardev: add spice support to qapi
This patch adds 'spicevmc' and 'spiceport' support to qapi and also switches over the spice chardev initialization to the new qapi code path.
This commit is contained in:
parent
548cbb36f4
commit
cd153e2aa2
4 changed files with 79 additions and 24 deletions
|
@ -44,10 +44,13 @@ int qemu_spice_migrate_info(const char *hostname, int port, int tls_port,
|
|||
void do_info_spice_print(Monitor *mon, const QObject *data);
|
||||
void do_info_spice(Monitor *mon, QObject **ret_data);
|
||||
|
||||
CharDriverState *qemu_chr_open_spice(QemuOpts *opts);
|
||||
CharDriverState *qemu_chr_open_spice_vmc(const char *type);
|
||||
#if SPICE_SERVER_VERSION >= 0x000c02
|
||||
CharDriverState *qemu_chr_open_spice_port(QemuOpts *opts);
|
||||
CharDriverState *qemu_chr_open_spice_port(const char *name);
|
||||
void qemu_spice_register_ports(void);
|
||||
#else
|
||||
static inline CharDriverState *qemu_chr_open_spice_port(const char *name)
|
||||
{ return NULL; }
|
||||
#endif
|
||||
|
||||
#else /* CONFIG_SPICE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue