stream-device: Handle capabilities

Enterprise / Virtualization / SPICE - Frediano Ziglio [redhat.com] - 11 April 2018 11:34 EDT

Handle capabilities from guest device. Send capability to the guest when device is opened. Currently there's no capabilities set on the message sent. On the tests we need to discard the capability message before reading the error.

262af0a9 stream-device: Handle capabilities
server/red-stream-device.c | 64 +++++++++++++++++++++++++++++++++++++--
server/tests/test-stream-device.c | 25 +++++++++++++++
2 files changed, 86 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share