]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/qtest/migration: Add tests for file migration with direct-io
authorFabiano Rosas <farosas@suse.de>
Mon, 17 Jun 2024 18:57:28 +0000 (15:57 -0300)
committerFabiano Rosas <farosas@suse.de>
Fri, 21 Jun 2024 12:47:22 +0000 (09:47 -0300)
commit408d295da82103df833f2f0443442d8aed880cb0
tree75b42555dccb1aec3327dde9827124f4e2663f2c
parent9d70239e56fadaa3571b8a7998a323ced52e8e76
tests/qtest/migration: Add tests for file migration with direct-io

The tests are only allowed to run in systems that know about the
O_DIRECT flag and in filesystems which support it.

Note: this also brings back migrate_set_parameter_bool() which went
away when we removed the compression tests. I copied it verbatim.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
tests/qtest/migration-helpers.c
tests/qtest/migration-helpers.h
tests/qtest/migration-test.c