[Qemu-devel] [PATCH 2/5] spice-qemu-char: Generate chardev open/close events

2011-11-19 Thread Hans de Goede
Define a state callback and make that generate chardev open/close events when called by the spice-server. Notes: 1) For all but the newest spice-server versions (which have a fix for this) the code ignores these events for a spicevmc with a subtype of vdagent, this subtype specific knowledge is u

[Qemu-devel] [PATCH 2/5] spice-qemu-char: Generate chardev open/close events

2011-08-11 Thread Hans de Goede
Define a state callback and make that generate chardev open/close events when called by the spice-server. Note that for all but the newest spice-server versions (which have a fix for this) the code ignores these events for a spicevmc with a subtype of vdagent, this subtype specific knowledge is un