diff options
| author | Dr. David Alan Gilbert <dave@treblig.org> | 2024-09-19 14:46:25 +0100 |
|---|---|---|
| committer | Peter Xu <peterx@redhat.com> | 2024-10-08 15:28:55 -0400 |
| commit | 3ba55a33e82c9902c211d6325bc550afcca7ddf9 (patch) | |
| tree | 715d3cfac242589540fcf3a980682647ebec0b83 /include/qemu/memalign.h | |
| parent | 6f81bd1a3ec3b8c06ec614f09eac688c6053f412 (diff) | |
| download | focaccia-qemu-3ba55a33e82c9902c211d6325bc550afcca7ddf9.tar.gz focaccia-qemu-3ba55a33e82c9902c211d6325bc550afcca7ddf9.zip | |
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 'include/qemu/memalign.h')
0 files changed, 0 insertions, 0 deletions