qemu/tests/qemu-iotests/tests
Kevin Wolf bbf105ef3c iotests: Add (NBD-based) tests for inactive nodes
This tests different types of operations on inactive block nodes
(including graph changes, block jobs and NBD exports) to make sure that
users manually activating and inactivating nodes doesn't break things.

Support for inactive nodes in other export types will have to come with
separate test cases because they have different dependencies like blkio
or root permissions and we don't want to disable this basic test when
they are not fulfilled.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Message-ID: <20250204211407.381505-17-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2025-02-06 14:47:51 +01:00
..
backing-file-invalidation python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
backing-file-invalidation.out iotests/backing-file-invalidation: Add new test 2022-09-30 18:43:44 +02:00
backup-discard-source iotests/backup-discard-source: don't use actual-size 2024-10-22 17:52:49 +02:00
backup-discard-source.out iotests: add backup-discard-source 2024-05-28 15:52:15 +03:00
block-status-cache iotests: add qemu_img_map() function 2022-03-22 10:14:34 +01:00
block-status-cache.out iotests/block-status-cache: New test 2022-01-28 16:55:23 -06:00
copy-before-write iotests: Add filter_qtest() 2025-02-06 14:47:42 +01:00
copy-before-write.out iotests: copy-before-write: add cases for cbw-timeout option 2022-06-29 10:57:02 +03:00
detect-zeroes-registered-buf tests/qemu-iotests: Fix some tests that use --image-opts for other protocols 2024-03-18 13:31:54 +01:00
detect-zeroes-registered-buf.out iotests/detect-zeroes-registered-buf: add new test 2023-02-09 10:22:30 -05:00
export-incoming-iothread python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
export-incoming-iothread.out iotests: Add regression test for issue 945 2022-05-04 15:55:23 +02:00
file-io-error monitor: only run coroutine commands in qemu_aio_context 2024-01-26 11:16:58 +01:00
file-io-error.out tests/file-io-error: New test 2023-08-29 13:01:24 +02:00
fuse-allow-other iotests/fuse-allow-other: Test allow-other 2021-07-09 12:26:05 +02:00
fuse-allow-other.out iotests/fuse-allow-other: Test allow-other 2021-07-09 12:26:05 +02:00
graph-changes-while-io python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
graph-changes-while-io.out iotests: Test commit with iothreads and ongoing I/O 2023-05-19 19:16:53 +02:00
image-fleecing python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
image-fleecing.out iotests/image-fleecing: test push backup with fleecing 2022-03-07 09:33:31 +01:00
inactive-node-nbd iotests: Add (NBD-based) tests for inactive nodes 2025-02-06 14:47:51 +01:00
inactive-node-nbd.out iotests: Add (NBD-based) tests for inactive nodes 2025-02-06 14:47:51 +01:00
iothreads-commit-active iotests: Test active commit with iothread and background I/O 2023-06-28 08:45:46 +02:00
iothreads-commit-active.out iotests: Test active commit with iothread and background I/O 2023-06-28 08:45:46 +02:00
iothreads-create iotests: Test blockdev-create in iothread 2023-05-30 17:29:44 +02:00
iothreads-create.out iotests: Test blockdev-create in iothread 2023-05-30 17:29:44 +02:00
iothreads-nbd-export iotests: Add test for reset/AioContext switches with NBD exports 2024-03-18 13:12:51 +01:00
iothreads-nbd-export.out iotests: Add test for reset/AioContext switches with NBD exports 2024-03-18 13:12:51 +01:00
iothreads-resize iotests: Test resizing image attached to an iothread 2023-05-10 14:16:53 +02:00
iothreads-resize.out monitor: only run coroutine commands in qemu_aio_context 2024-01-26 11:16:58 +01:00
iothreads-stream iotests/iothreads-stream: Use the right TimeoutError 2024-01-26 12:26:35 +01:00
iothreads-stream.out iotests: Test two stream jobs in a single iothread 2023-11-21 12:45:21 +01:00
iov-padding iotests/iov-padding: New test 2023-06-05 13:11:26 +02:00
iov-padding.out iotests/iov-padding: New test 2023-06-05 13:11:26 +02:00
luks-detached-header tests: Add case for LUKS volume with detached header 2024-02-09 12:50:38 +00:00
luks-detached-header.out tests: Add case for LUKS volume with detached header 2024-02-09 12:50:38 +00:00
migrate-bitmaps-postcopy-test python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
migrate-bitmaps-postcopy-test.out iotests: rename and move 169 and 199 tests 2021-01-27 20:53:14 +01:00
migrate-bitmaps-test iotests: Add filter_qtest() 2025-02-06 14:47:42 +01:00
migrate-bitmaps-test.out iotests: rename and move 169 and 199 tests 2021-01-27 20:53:14 +01:00
migrate-during-backup python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
migrate-during-backup.out tests: add migrate-during-backup 2021-09-15 15:54:07 +02:00
migration-permissions python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
migration-permissions.out iotests/migration-permissions: New test 2022-02-01 10:51:39 +01:00
mirror-change-copy-mode iotests: add test for changing mirror's copy_mode 2023-10-31 19:46:51 +01:00
mirror-change-copy-mode.out iotests: add test for changing mirror's copy_mode 2023-10-31 19:46:51 +01:00
mirror-ready-cancel-error python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
mirror-ready-cancel-error.out iotests: Add mirror-ready-cancel-error test 2021-10-07 10:42:50 +02:00
mirror-top-perms python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
mirror-top-perms.out iotests: Test mirror-top filter permissions 2021-04-09 18:00:29 +02:00
nbd-multiconn python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
nbd-multiconn.out nbd/server: Allow MULTI_CONN for shared writable exports 2022-05-12 13:10:52 +02:00
nbd-qemu-allocation iotests: Improve and rename test 309 to nbd-qemu-allocation 2021-07-12 10:56:41 -05:00
nbd-qemu-allocation.out nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS 2023-10-05 11:02:08 -05:00
nbd-reconnect-on-open iotests/nbd-reconnect-on-open: Fix NBD socket path 2023-05-10 14:16:53 +02:00
nbd-reconnect-on-open.out iotests/nbd-reconnect-on-open: Fix NBD socket path 2023-05-10 14:16:53 +02:00
nbd-tls-iothread iotests: test NBD+TLS+iothread 2024-06-03 09:17:11 -05:00
nbd-tls-iothread.out iotests: test NBD+TLS+iothread 2024-06-03 09:17:11 -05:00
parallels-checks tests: test self-cure of parallels image with duplicated clusters 2023-09-21 08:47:58 +02:00
parallels-checks.out tests: test self-cure of parallels image with duplicated clusters 2023-09-21 08:47:58 +02:00
parallels-read-bitmap iotests: add qemu_img_map() function 2022-03-22 10:14:34 +01:00
parallels-read-bitmap.out iotests: add parallels-read-bitmap test 2021-03-08 14:56:55 +01:00
qcow2-internal-snapshots tests/qemu-iotests: Restrict tests using "--blockdev file" to the file protocol 2024-03-18 13:31:54 +01:00
qcow2-internal-snapshots.out qemu-img: Fix Column Width and Improve Formatting in snapshot list 2024-03-18 13:30:34 +01:00
qemu-img-bitmaps qemu-img: Add --skip-broken-bitmaps for 'convert --bitmaps' 2021-07-21 14:14:41 -05:00
qemu-img-bitmaps.out qemu-img: map: report compressed data blocks 2023-09-20 17:46:01 +02:00
qemu-img-close-errors qemu-iotests: Test qemu-img bitmap/commit exit code on error 2023-02-01 16:52:15 +01:00
qemu-img-close-errors.out qemu-iotests: Test qemu-img bitmap/commit exit code on error 2023-02-01 16:52:15 +01:00
qsd-jobs tests/qemu-iotests: Restrict tests using "--blockdev file" to the file protocol 2024-03-18 13:31:54 +01:00
qsd-jobs.out monitor: only run coroutine commands in qemu_aio_context 2024-01-26 11:16:58 +01:00
qsd-migrate iotests: Add qsd-migrate case 2025-02-06 14:47:48 +01:00
qsd-migrate.out iotests: Add qsd-migrate case 2025-02-06 14:47:48 +01:00
regression-vhdx-log iotests: Regression test for vhdx log corruption 2023-04-11 13:54:43 +02:00
regression-vhdx-log.out iotests: Regression test for vhdx log corruption 2023-04-11 13:54:43 +02:00
remove-bitmap-from-backing iotests/remove-bitmap-from-backing: use qemu_img_info() 2022-03-22 10:14:32 +01:00
remove-bitmap-from-backing.out iotests: add test for removing persistent bitmap from backing file 2021-04-09 18:00:29 +02:00
reopen-file python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
reopen-file.out iotests/reopen-file: Test reopening file child 2022-05-04 15:55:23 +02:00
stream-error-on-reset python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
stream-error-on-reset.out iotests/stream-error-on-reset: New test 2022-01-14 12:03:16 +01:00
stream-unaligned-prefetch iotests: add test for stream job with an unaligned prefetch read 2024-03-26 14:21:26 +01:00
stream-unaligned-prefetch.out iotests: add test for stream job with an unaligned prefetch read 2024-03-26 14:21:26 +01:00
stream-under-throttle python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
stream-under-throttle.out tests/stream-under-throttle: New test 2022-11-14 11:31:52 +01:00
vvfat iotests: Add vvfat tests 2024-08-06 20:12:40 +02:00
vvfat.out iotests: Add vvfat tests 2024-08-06 20:12:40 +02:00
write-zeroes-unmap Consider discard option when writing zeros 2024-07-11 11:06:36 +02:00
write-zeroes-unmap.out Consider discard option when writing zeros 2024-07-11 11:06:36 +02:00
zoned qemu-iotests: test zone append operation 2023-05-15 08:18:10 -04:00
zoned.out qemu-iotests: test zone append operation 2023-05-15 08:18:10 -04:00