Re: [PATCH v2 3/4] migration/postcopy: Detect file system on dest host

2023-04-19 Thread Juan Quintela
Peter Xu wrote: > Postcopy requires the memory support userfaultfd to work. Right now we > check it but it's a bit too late (when switching to postcopy migration). > > Do that early right at enabling of postcopy. > > Note that this is still only a best effort because ramblocks can be > dynamicall

[PATCH v2 3/4] migration/postcopy: Detect file system on dest host

2023-04-19 Thread Peter Xu
Postcopy requires the memory support userfaultfd to work. Right now we check it but it's a bit too late (when switching to postcopy migration). Do that early right at enabling of postcopy. Note that this is still only a best effort because ramblocks can be dynamically created. We can add check