Re: [Qemu-devel] [PATCH v2 3/3] monitor: add lock to protect mon_fdsets

2018-05-02 Thread Peter Xu
On Mon, Apr 30, 2018 at 11:21:26AM +0100, Stefan Hajnoczi wrote: > On Wed, Apr 18, 2018 at 05:02:39PM +0800, Peter Xu wrote: > > Similar to previous patch, but introduce a new global big lock for > > mon_fdsets. Take it where needed. > > Looks like monitor_fdset_get_fd() is missing. Yes. Fixing

Re: [Qemu-devel] [PATCH v2 3/3] monitor: add lock to protect mon_fdsets

2018-04-30 Thread Stefan Hajnoczi
On Wed, Apr 18, 2018 at 05:02:39PM +0800, Peter Xu wrote: > Similar to previous patch, but introduce a new global big lock for > mon_fdsets. Take it where needed. Looks like monitor_fdset_get_fd() is missing. signature.asc Description: PGP signature

[Qemu-devel] [PATCH v2 3/3] monitor: add lock to protect mon_fdsets

2018-04-18 Thread Peter Xu
Similar to previous patch, but introduce a new global big lock for mon_fdsets. Take it where needed. Signed-off-by: Peter Xu --- monitor.c | 48 ++-- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/monitor.c b/monitor.c index f4951cafbc