iotests/307: Test iothread conflict for exports
commitd21471696b07f30cb00453709d055a25c1afde85
authorMax Reitz <mreitz@redhat.com>
Thu, 24 Jun 2021 08:38:25 +0000 (24 10:38 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 20 Jul 2021 14:49:50 +0000 (20 16:49 +0200)
tree7976e9b1f05115812cb63efb646c32ac5a7ab6cf
parent8573823f3ba2b63926f82d5732473e0cd73c1213
iotests/307: Test iothread conflict for exports

Passing fixed-iothread=true should make iothread conflicts fatal,
whereas fixed-iothread=false should not.

Combine the second case with an error condition that is checked after
the iothread is handled, to verify that qemu does not crash if there is
such an error after changing the iothread failed.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210624083825.29224-3-mreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/307
tests/qemu-iotests/307.out