mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
spice-qemu-char: add spiceport chardev
Add a new spice chardev to allow arbitrary communication between the host and the Spice client via the spice server. Examples: This allows the Spice client to have a special port for the qemu monitor: ... -chardev spiceport,name=org.qemu.monitor,id=monitorport -mon chardev=monitorport v2: - remove support for chardev to chardev linking - conditionnaly compile with SPICE_SERVER_VERSION Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
71b423f4b9
commit
5a49d3e9a7
5 changed files with 65 additions and 0 deletions
|
@ -2762,6 +2762,9 @@ static const struct {
|
|||
#endif
|
||||
#ifdef CONFIG_SPICE
|
||||
{ .name = "spicevmc", .open = qemu_chr_open_spice },
|
||||
#if SPICE_SERVER_VERSION >= 0x000c02
|
||||
{ .name = "spiceport", .open = qemu_chr_open_spice_port },
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue