For example, with qemu, a ssh channel can be created this way: -chardev spiceport,name=org.spice-space.ssh.0,... And redirected to a virtio port: -device virserialport,...,name=org.spice-space.ssh.0 Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- server/reds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/reds.c b/server/reds.c index 74f7727..6815062 100644 --- a/server/reds.c +++ b/server/reds.c @@ -3235,6 +3235,8 @@ static int spice_server_char_device_add_interface(SpiceServer *reds, else if (strcmp(char_device->subtype, SUBTYPE_PORT) == 0) { if (strcmp(char_device->portname, "org.spice-space.webdav.0") == 0) { dev_state = spicevmc_device_connect(reds, char_device, SPICE_CHANNEL_WEBDAV); + } else if (strcmp(char_device->portname, "org.spice-space.ssh.0") == 0) { + dev_state = spicevmc_device_connect(reds, char_device, SPICE_CHANNEL_SSH); } else { dev_state = spicevmc_device_connect(reds, char_device, SPICE_CHANNEL_PORT); } @@ -3933,6 +3935,7 @@ SPICE_GNUC_VISIBLE int spice_server_set_channel_security(SpiceServer *s, const c #endif [ SPICE_CHANNEL_USBREDIR ] = "usbredir", [ SPICE_CHANNEL_WEBDAV ] = "webdav", + [ SPICE_CHANNEL_SSH ] = "ssh", }; int i; -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel