[Bug 44179] SPICE_MSG_WAIT_FOR_CHANNELS is not handled
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 27 11:15:19 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=44179
--- Comment #2 from Yonit Halperin <yhalperi at redhat.com> 2011-12-27 11:15:19 PST ---
(In reply to comment #1)
> In which conditions this message is sent? It would be helpful to have a test
> case.
>
> thanks
-More than 1 guest monitor
- Pixmap cache size exceeds its limit when trying to insert a new bitmap
- As a result the oldest bitmaps in the cache are removed from it
- Each such bitmap occurrence holds for each one of the display channels the
serial number of the last message that referred to this cache item.
WAIT_FOR_CHANNELS is sent to client before INVAL_LIST, together with these
serial numbers (for all the display channels, except for the one that the
message is desalinated to). This way we prevent display channel x from removing
bitmap b from the cache, before message m that refers to b arrived to display
channel y.
WAIT_FOR_CHANNELS will be sent only if one of the other channels actually used
on of the removed cache bitmaps.
In addition, for similar reasons, wait_for_channels should also be called in
channel-display::display_handle_inv_pixmap_all before reseting the cache.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the spice-bugs
mailing list