diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2016-09-30 22:31:01 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-04 10:00:26 +0200 |
commit | dd1f63493adbbb06fa16ed15f8fc16584f55ee81 (patch) | |
tree | 79780c3a96716ede1fbd974bcc8e74916eb380f7 /qga | |
parent | a890643958f03aaa344290700093b280cb606c28 (diff) | |
download | qemu-dd1f63493adbbb06fa16ed15f8fc16584f55ee81.tar.gz qemu-dd1f63493adbbb06fa16ed15f8fc16584f55ee81.tar.bz2 qemu-dd1f63493adbbb06fa16ed15f8fc16584f55ee81.zip |
linux-user/syscall: extend lock around cpu-list
There is a potential race if several threads exit at once. To serialise
the exits extend the lock above the initial checking of the CPU list.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20160930213106.20186-11-alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions