[Spice-devel] [PATCH spice-server v2 0/6] stream-device tests and stability patches

Frediano Ziglio fziglio at redhat.com
Wed Feb 28 08:30:27 UTC 2018


These patches fix some problem with streaming device adding also tests
for different issues.
Most of the patches was sent before on ML but still, for different
reason not merged (one a problem with Qemu bug for which one there
is a workaround in this series).
Last patch fix MJPEG encoding and remove some client warnings
due to frame data split into multiple message data.

Changes since v1:
- merged some patches;
- improve commit messages;
- add some comments on code;
- fix minor statistic computation in "Send the full frame in a single message";
- introduce char_device_set_state in "Disable guest device on errors".

Frediano Ziglio (6):
  stream-device: Implements properly device reset on open/close
  stream-device: Disable guest device on errors
  stream-device: Workaround Qemu bug closing device
  stream-device: Do not read past data message
  test-stream-device: Check we don't read past data message
  stream-channel: Send the full frame in a single message

 server/stream-channel.c           |  99 +++++++++++++++++++++----
 server/stream-channel.h           |  12 +++
 server/stream-device.c            |  70 ++++++++++++++++--
 server/tests/test-stream-device.c | 150 +++++++++++++++++++++++++++++---------
 4 files changed, 275 insertions(+), 56 deletions(-)

-- 
2.14.3



More information about the Spice-devel mailing list