aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHanna Reitz <hreitz@redhat.com>2022-02-04 12:10:08 +0100
committerVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2022-02-11 14:06:02 +0100
commit8a39c381e5e407d2fe5500324323f90a8540fa90 (patch)
tree84439b01994a94360e932ec407c3a5cc697e3c78 /tests
parent717be9644b25341517a8a3377a5f773fa902810b (diff)
downloadqemu-8a39c381e5e407d2fe5500324323f90a8540fa90.zip
qemu-8a39c381e5e407d2fe5500324323f90a8540fa90.tar.gz
qemu-8a39c381e5e407d2fe5500324323f90a8540fa90.tar.bz2
block/nbd: Assert there are no timers when closed
Our two timers must not remain armed beyond nbd_clear_bdrvstate(), or they will access freed data when they fire. This patch is separate from the patches that actually fix the issue (HEAD^^ and HEAD^) so that you can run the associated regression iotest (281) on a configuration that reproducibly exposes the bug. Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions