summary refs log tree commit diff stats
path: root/tests/test-block-backend.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2019-05-08 11:58:45 +0200
committerKevin Wolf <kwolf@redhat.com>2019-06-04 16:54:51 +0200
commitedbe36ad0f2fa8876b59bc77991ef00c969247a9 (patch)
tree833d3820bf756f66b001be08c27b84f3453ce830 /tests/test-block-backend.c
parentd0ee0204f400956ab429278f1b459d9af969c4a2 (diff)
downloadfocaccia-qemu-edbe36ad0f2fa8876b59bc77991ef00c969247a9.tar.gz
focaccia-qemu-edbe36ad0f2fa8876b59bc77991ef00c969247a9.zip
virtio-scsi-test: Test attaching new overlay with iothreads
This tests that blockdev-add can correctly add a qcow2 overlay to an
image used by a virtio-scsi disk in an iothread. The interesting point
here is whether the newly added node gets correctly moved into the
iothread AioContext.

If it isn't, we get an assertion failure in virtio-scsi while processing
the next request:

    virtio_scsi_ctx_check: Assertion `blk_get_aio_context(d->conf.blk) == s->ctx' failed.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/test-block-backend.c')
0 files changed, 0 insertions, 0 deletions