]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qtest/migration: Move kvm_dirty_ring_supported to utils
authorFabiano Rosas <farosas@suse.de>
Wed, 27 Nov 2024 18:28:52 +0000 (15:28 -0300)
committerFabiano Rosas <farosas@suse.de>
Thu, 12 Dec 2024 13:25:40 +0000 (10:25 -0300)
commit2fa72ba79bc84bd44385af260dbacc223f7a6181
tree051ec9a12a74300e0dc18f940ead7d43897eaac3
parent124a3c58b82ad8e3662711f4deca281d81d5d56a
tests/qtest/migration: Move kvm_dirty_ring_supported to utils

Move kvm_dirty_ring_supported() to migration-util.c. Similarly to
ufd_version_check(), this function is used during test definition so
put it in the utils file.

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