]> git.proxmox.com Git - mirror_qemu.git/commit
monitor: rename out_lock to mon_lock
authorPeter Xu <peterx@redhat.com>
Fri, 8 Jun 2018 03:55:05 +0000 (11:55 +0800)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 18 Jun 2018 13:45:28 +0000 (15:45 +0200)
commitdc7cbcd8fae9b94b453f3a04298d52a69c228b4d
treeb13cc3650d2f03333cdce3b2dbeaed8b334454dd
parent2ef2f16781af9dee6ba6517755e9073ba5799fa2
monitor: rename out_lock to mon_lock

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
most of the rest.

Since at it, rearrange the Monitor struct a bit.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180608035511.7439-2-peterx@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
monitor.c