Peter Xu <pet...@redhat.com> writes: > The out_lock is protecting a few Monitor fields. In the future the > monitor code will start to run in multiple threads. We are going to > turn it into a bigger lock to protect not only the out buffer but also > all the rest.
Hmm, not sure about "all the rest": PATCH 3 marks a member as not needing protection. Shall I change this to "most of the rest" when I apply? > > Since at it, rearrange the Monitor struct a bit. > > Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> > Signed-off-by: Peter Xu <pet...@redhat.com>