Re: [PATCH] tests/qtest/migration: Restore include for postcopy

2024-12-18 Thread Fabiano Rosas
Daniel P. Berrangé writes: > On Wed, Dec 18, 2024 at 12:12:11PM -0300, Fabiano Rosas wrote: >> Daniel P. Berrangé writes: >> >> > On Tue, Dec 17, 2024 at 04:47:39PM -0500, Peter Xu wrote: >> >> On Tue, Dec 17, 2024 at 06:22:01PM -0300, Fabiano Rosas wrote: >> >> > Commit 124a3c58b8 ("tests/qtes

Re: [PATCH] tests/qtest/migration: Restore include for postcopy

2024-12-18 Thread Daniel P . Berrangé
On Wed, Dec 18, 2024 at 12:12:11PM -0300, Fabiano Rosas wrote: > Daniel P. Berrangé writes: > > > On Tue, Dec 17, 2024 at 04:47:39PM -0500, Peter Xu wrote: > >> On Tue, Dec 17, 2024 at 06:22:01PM -0300, Fabiano Rosas wrote: > >> > Commit 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check

Re: [PATCH] tests/qtest/migration: Restore include for postcopy

2024-12-18 Thread Peter Xu
On Wed, Dec 18, 2024 at 12:12:11PM -0300, Fabiano Rosas wrote: > Daniel P. Berrangé writes: > > > On Tue, Dec 17, 2024 at 04:47:39PM -0500, Peter Xu wrote: > >> On Tue, Dec 17, 2024 at 06:22:01PM -0300, Fabiano Rosas wrote: > >> > Commit 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check

Re: [PATCH] tests/qtest/migration: Restore include for postcopy

2024-12-18 Thread Fabiano Rosas
Daniel P. Berrangé writes: > On Tue, Dec 17, 2024 at 04:47:39PM -0500, Peter Xu wrote: >> On Tue, Dec 17, 2024 at 06:22:01PM -0300, Fabiano Rosas wrote: >> > Commit 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check to >> > utils") moved the ufd_version_check() function to another file bu

Re: [PATCH] tests/qtest/migration: Restore include for postcopy

2024-12-18 Thread Daniel P . Berrangé
On Tue, Dec 17, 2024 at 04:47:39PM -0500, Peter Xu wrote: > On Tue, Dec 17, 2024 at 06:22:01PM -0300, Fabiano Rosas wrote: > > Commit 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check to > > utils") moved the ufd_version_check() function to another file but > > failed to bring along the i

Re: [PATCH] tests/qtest/migration: Restore include for postcopy

2024-12-17 Thread Peter Xu
On Tue, Dec 17, 2024 at 06:22:01PM -0300, Fabiano Rosas wrote: > Commit 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check to > utils") moved the ufd_version_check() function to another file but > failed to bring along the include, which is necessary to > pull in for __NR_userfaultd. > >

[PATCH] tests/qtest/migration: Restore include for postcopy

2024-12-17 Thread Fabiano Rosas
Commit 124a3c58b8 ("tests/qtest/migration: Move ufd_version_check to utils") moved the ufd_version_check() function to another file but failed to bring along the include, which is necessary to pull in for __NR_userfaultd. Restore the missing include. While here, remove the ifdef __linux__ that'