aboutsummaryrefslogtreecommitdiff
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2024-09-19 14:46:25 +0100
committerPeter Xu <peterx@redhat.com>2024-10-08 15:28:55 -0400
commit3ba55a33e82c9902c211d6325bc550afcca7ddf9 (patch)
tree715d3cfac242589540fcf3a980682647ebec0b83 /linux-user/elfload.c
parent6f81bd1a3ec3b8c06ec614f09eac688c6053f412 (diff)
downloadqemu-3ba55a33e82c9902c211d6325bc550afcca7ddf9.zip
qemu-3ba55a33e82c9902c211d6325bc550afcca7ddf9.tar.gz
qemu-3ba55a33e82c9902c211d6325bc550afcca7ddf9.tar.bz2
migration/postcopy: Use uffd helpers
Use the uffd_copy_page, uffd_zero_page and uffd_wakeup helpers rather than calling ioctl ourselves. They return -errno on error, and print an error_report themselves. I think this actually makes postcopy_place_page actually more consistent in it's callers. Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org> Reviewed-by: Peter Xu <peterx@redhat.com> Link: https://lore.kernel.org/r/20240919134626.166183-7-dave@treblig.org [peterx: fix i386 build] Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'linux-user/elfload.c')
0 files changed, 0 insertions, 0 deletions