diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-14 19:20:07 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-03 14:03:00 +0200 |
commit | aa0d7ed658f6afbdbcf4ceb8613b3c2cf5fbc7c4 (patch) | |
tree | 56d9693250306121fbcc30fe56a259ed1ae37351 /util/qemu-error.c | |
parent | ad88e4252f09c2956b99c90de39e95bab2e8e7af (diff) | |
download | qemu-aa0d7ed658f6afbdbcf4ceb8613b3c2cf5fbc7c4.zip qemu-aa0d7ed658f6afbdbcf4ceb8613b3c2cf5fbc7c4.tar.gz qemu-aa0d7ed658f6afbdbcf4ceb8613b3c2cf5fbc7c4.tar.bz2 |
test-thread-pool: be more reliable
There is a rare race between the atomic_cmpxchg and
bdrv_aio_cancel/bdrv_aio_cancel_async invocations. Detect it, the
only sensible we can do about it is to exit long_cb immediately.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/qemu-error.c')
0 files changed, 0 insertions, 0 deletions