John Snow
72cfb937b8
iotests: remove qemu_io_silent() and qemu_io_silent_check().
...
Like qemu-img, qemu-io returning 0 should be the norm and not the
exception. Remove all calls to qemu_io_silent that just assert the
return code is zero (That's every last call, as it turns out), and
replace them with a normal qemu_io() call.
qemu_io_silent_check() appeared to have been unused already.
Signed-off-by: John Snow <jsnow@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
Reviewed-by: Hanna Reitz <hreitz@redhat.com >
Message-Id: <20220418211504.943969-12-jsnow@redhat.com >
Signed-off-by: Hanna Reitz <hreitz@redhat.com >
2022-04-25 14:30:34 +02:00
Alberto Garcia
e60edf69e2
block: Make blockdev-reopen stable API
...
This patch drops the 'x-' prefix from x-blockdev-reopen.
Signed-off-by: Alberto Garcia <berto@igalia.com >
Signed-off-by: Kevin Wolf <kwolf@redhat.com >
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20210708114709.206487-7-kwolf@redhat.com >
Signed-off-by: Kevin Wolf <kwolf@redhat.com >
2021-07-09 13:19:11 +02:00
Alberto Garcia
3908b7a899
block: Support multiple reopening with x-blockdev-reopen
...
[ kwolf: Fixed AioContext locking ]
Signed-off-by: Alberto Garcia <berto@igalia.com >
Signed-off-by: Kevin Wolf <kwolf@redhat.com >
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20210708114709.206487-5-kwolf@redhat.com >
Signed-off-by: Kevin Wolf <kwolf@redhat.com >
2021-07-09 13:19:11 +02:00
Vladimir Sementsov-Ogievskiy
fd6ce1d085
iotests: make tests executable
...
All other test files are executable. Fix these.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
Message-Id: <20210116134424.82867-5-vsementsov@virtuozzo.com >
Signed-off-by: Eric Blake <eblake@redhat.com >
2021-01-20 14:53:22 -06:00
Vladimir Sementsov-Ogievskiy
d2ace2b95f
iotests: add 298 to test new preallocate filter driver
...
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20201021145859.11201-13-vsementsov@virtuozzo.com >
Reviewed-by: Max Reitz <mreitz@redhat.com >
Signed-off-by: Max Reitz <mreitz@redhat.com >
2020-12-18 12:35:55 +01:00