Re: [PATCH v2 4/4] tests/qtest/migration-test: Add a postcopy memfile test

2024-06-03 Thread Peter Xu
On Mon, Jun 03, 2024 at 04:02:42PM +1000, Nicholas Piggin wrote: > On Fri May 31, 2024 at 11:34 PM AEST, Peter Xu wrote: > > On Thu, May 30, 2024 at 07:54:07PM +1000, Nicholas Piggin wrote: > > > Postcopy requires userfaultfd support, which requires tmpfs if a memory > > > file is used. > > > > >

Re: [PATCH v2 4/4] tests/qtest/migration-test: Add a postcopy memfile test

2024-06-03 Thread Nicholas Piggin
On Fri May 31, 2024 at 11:34 PM AEST, Peter Xu wrote: > On Thu, May 30, 2024 at 07:54:07PM +1000, Nicholas Piggin wrote: > > Postcopy requires userfaultfd support, which requires tmpfs if a memory > > file is used. > > > > This adds back support for /dev/shm memory files, but adds preallocation >

Re: [PATCH v2 4/4] tests/qtest/migration-test: Add a postcopy memfile test

2024-05-31 Thread Fabiano Rosas
Peter Xu writes: > On Thu, May 30, 2024 at 07:54:07PM +1000, Nicholas Piggin wrote: >> Postcopy requires userfaultfd support, which requires tmpfs if a memory >> file is used. >> >> This adds back support for /dev/shm memory files, but adds preallocation >> to skip environments where that mount

Re: [PATCH v2 4/4] tests/qtest/migration-test: Add a postcopy memfile test

2024-05-31 Thread Peter Xu
On Thu, May 30, 2024 at 07:54:07PM +1000, Nicholas Piggin wrote: > Postcopy requires userfaultfd support, which requires tmpfs if a memory > file is used. > > This adds back support for /dev/shm memory files, but adds preallocation > to skip environments where that mount is limited in size. > >

[PATCH v2 4/4] tests/qtest/migration-test: Add a postcopy memfile test

2024-05-30 Thread Nicholas Piggin
Postcopy requires userfaultfd support, which requires tmpfs if a memory file is used. This adds back support for /dev/shm memory files, but adds preallocation to skip environments where that mount is limited in size. Signed-off-by: Nicholas Piggin --- tests/qtest/migration-test.c | 77