From: Victor Toso <me@xxxxxxxxxxxxxx> Hi, I'm working on basic QoS integration in the client, to avoid some channels to use all the bandwidth and I end up touching this part of the code. I tried to make the code a little bit more straight forward to understand. Let me know if these changes make sense to you. Cheers, Victor Toso (4): spice-channel: move out non blocking logic of _read_wire() spice-channel: small rework on spice_channel_read_wire() spice-channel: move out non blocking logic of _flush_wire() spice-channel: small rework on spice_channel_flush_wire() src/spice-channel.c | 174 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 112 insertions(+), 62 deletions(-) -- 2.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel