Red Hat Bugzilla – Bug 645096
Backport vdagent channel fixes from master
Last modified: 2011-06-15 10:46:52 EDT
With the enabling of copy and paste support in RHEV-2.3, there will be a lot more data flowing through the vdagent channel. This means that we need to look at backporting the following upstream commits, which fix some issues in the server wrt vdagent channel data handling:
Verified by code review of spice-server-0.8.0-1 patches seems to be implemented.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Note to Content Author: I think this was not seen by users, but was part of developing spice-server and guest's vdagent.
This bug adds a few fixes to the server, including:
- Don't crash when a client disconnects while there are pending writes.
- Always call read_from_vdi_port() in a while loop. This fixes a case where data read from the agent got lost.
- Call read_from_vdi_port() from vdi_read_buf_release(). This fixes a possible case where spice-server fails to ever read more data from the agent on the guest as the port is throttled and stays throttled until the spice-server consumed all data from the current buffer.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.