Re: [Qemu-devel] [PATCH v2] monitor: let cur_mon be per-thread

2018-04-11 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20180412060358.9118-1-pet...@redhat.com Subject: [Qemu-devel] [PATCH v2] monitor: let cur_mon be per-thread === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 total=$(git

[Qemu-devel] [PATCH v2] monitor: let cur_mon be per-thread

2018-04-11 Thread Peter Xu
In the future the monitor iothread may be accessing the cur_mon as well (via monitor_qmp_dispatch_one()). Before we introduce a real Out-Of-Band command, let's convert the cur_mon variable to be a per-thread variable to make sure there won't be a race between threads. Note that thread variables a