diff options
author | Fiona Ebner <f.ebner@proxmox.com> | 2024-03-22 10:50:09 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2024-03-26 14:21:26 +0100 |
commit | 12d7b3bbd3333cededd3b695501d8d247239d769 (patch) | |
tree | 58f6a9106e9cfa68f4c6f5d23d94b962ac041393 /hw/intc | |
parent | bac09b093ebbb79e6a7444c7b979c32ca5540132 (diff) | |
download | qemu-12d7b3bbd3333cededd3b695501d8d247239d769.zip qemu-12d7b3bbd3333cededd3b695501d8d247239d769.tar.gz qemu-12d7b3bbd3333cededd3b695501d8d247239d769.tar.bz2 |
iotests: add test for stream job with an unaligned prefetch read
Previously, bdrv_pad_request() could not deal with a NULL qiov when
a read needed to be aligned. During prefetch, a stream job will pass a
NULL qiov. Add a test case to cover this scenario.
By accident, also covers a previous race during shutdown, where block
graph changes during iteration in bdrv_flush_all() could lead to
unreferencing the wrong block driver state and an assertion failure
later.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20240322095009.346989-5-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions