]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/qtest/migration: Re-enable postcopy tests
authorFabiano Rosas <farosas@suse.de>
Wed, 18 Dec 2024 19:22:22 +0000 (16:22 -0300)
committerFabiano Rosas <farosas@suse.de>
Thu, 2 Jan 2025 19:00:51 +0000 (16:00 -0300)
commit06056ef1ff1e457787d277796bff927f51c092c9
treedeba683787fd9dfcdc3c3650af2a3e69a4484840
parentbc3ace691492a5aefa6e9ad1006879a30502d842
tests/qtest/migration: Re-enable postcopy tests

Postcopy tests have been inadvertently disabled since commit
124a3c58b8 ("tests/qtest/migration: Move ufd_version_check to
utils"). That commit moved the ufd_version_check() function to another
file but failed to make sense of the ifdefs and includes:

The <sys/syscall> include was incorrectly dropped. It is needed to
pull in <asm/unistd.h> for __NR_userfaultfd.

The <sys/ioctl.h> was moved under the wrong ifdef.

Fixes: 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check to utils")
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Message-Id: <20241218192223.10551-2-farosas@suse.de>
tests/qtest/migration/migration-util.c