diff options
author | Wolfgang Bumiller | 2018-09-25 10:15:06 +0200 |
---|---|---|
committer | Markus Armbruster | 2018-11-06 17:02:49 +0100 |
commit | 9a3e52e3465f85d203d0fd2910ca3625b3c45420 (patch) | |
tree | 94455be456ba3c5a1e3b7ffdd144e8d5b0461754 /memory.c | |
parent | tests: Fix Python 3 detection on older GNU make versions (diff) | |
download | qemu-9a3e52e3465f85d203d0fd2910ca3625b3c45420.tar.gz qemu-9a3e52e3465f85d203d0fd2910ca3625b3c45420.tar.xz qemu-9a3e52e3465f85d203d0fd2910ca3625b3c45420.zip |
monitor: guard iothread access by mon->use_io_thread
monitor_resume() and monitor_suspend() both want to
"kick" the I/O thread if it is there, but in
monitor_suspend() lacked the use_io_thread flag condition.
This is required when we later only spawn the thread on
first use.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180925081507.11873-2-w.bumiller@proxmox.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'memory.c')
0 files changed, 0 insertions, 0 deletions