Re: [libvirt] [PATCH] events: Propose a separate lock for event queue

2011-10-12 Thread Daniel P. Berrange
On Mon, Oct 10, 2011 at 01:45:50PM +0200, Michal Privoznik wrote: > Currently, push & pop from event queue (both server & client side) > rely on lock from higher levels, e.g. on driver lock (qemu), > private_data (remote), ...; This alone is not sufficient as not > every function that interacts wit

Re: [libvirt] [PATCH] events: Propose a separate lock for event queue

2011-10-11 Thread Eric Blake
On 10/10/2011 05:45 AM, Michal Privoznik wrote: Currently, push& pop from event queue (both server& client side) rely on lock from higher levels, e.g. on driver lock (qemu), private_data (remote), ...; This alone is not sufficient as not every function that interacts with this queue can/does lo

[libvirt] [PATCH] events: Propose a separate lock for event queue

2011-10-10 Thread Michal Privoznik
Currently, push & pop from event queue (both server & client side) rely on lock from higher levels, e.g. on driver lock (qemu), private_data (remote), ...; This alone is not sufficient as not every function that interacts with this queue can/does lock, esp. in client where we have a different appro