[Spice-devel] [PATCH 0/2] RFC: handle startup race for monitors config

Jonathon Jongsma jjongsma at redhat.com
Wed Apr 1 08:41:50 PDT 2015


This is a potential solution to the bug described in
https://bugzilla.redhat.com/show_bug.cgi?id=1200750. It seems to fix the
problem, but if anybody has a suggestion for a more elegant solution, I'd be
happy to hear about it.

Jonathon Jongsma (2):
  agent_msg_filter_process_data(): always return _MONITORS_CONFIG
  Avoid a race when receiving monitors config at startup

 server/agent-msg-filter.c |  6 +-----
 server/main_channel.c     | 13 +++++++++++++
 server/main_channel.h     |  3 +++
 server/red_worker.c       | 38 ++++++++++++++++++++++++++++++++++++--
 server/reds.c             | 13 +++++++++++--
 5 files changed, 64 insertions(+), 9 deletions(-)

-- 
2.1.0



More information about the Spice-devel mailing list