[feature-request] Spice Server: Introduce session started/ended events
Submitted by Vinzenz Feenstra
Assigned to Spice Bug List
Description
Currently the spice server emits the events connected, initialized and disconnected on a per TCP connection basis. Which results in multiple events for each spice channel.
To make the life easier to ignore invalid connection attempts and to be able to distinguish real disconnects from live/seamless migration related disconnects.
The goal is to basically have 'sessions' where the events are published per session and not per channel. e.g. when the main channel has been intialized the session event would start and when it gets disconnected due to any other reason than a live/seamless migration, then it would emit an event that the session ended.
Thanks :-)