diff options
author | Peter Xu <peterx@redhat.com> | 2023-04-19 12:17:38 -0400 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-04-24 11:29:01 +0200 |
commit | ae30b9b2892b85e6c3d5c0b8d1949c4d77a2954a (patch) | |
tree | 60db95ddd208fe84abe64d1849f6f7127c3233b2 /migration/rdma.c | |
parent | cb9d8b8ce1aaf38f53295fc59ec1b8b7eb4338d2 (diff) |
migration/postcopy: Detect file system on dest host
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 in hostmem creations and fail if
postcopy enabled, but maybe that's too aggressive.
Still, we have chance to fail the most obvious where we know there's an
existing unsupported ramblock.
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/rdma.c')
0 files changed, 0 insertions, 0 deletions