]> git.proxmox.com Git - mirror_qemu.git/commit
migration: introduce UFFD-WP low-level interface helpers
authorAndrey Gruzdev <andrey.gruzdev@virtuozzo.com>
Fri, 29 Jan 2021 10:14:04 +0000 (13:14 +0300)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 8 Feb 2021 11:19:51 +0000 (11:19 +0000)
commit0e9b5cd6b238b7ca9a3a50d957f50c37082705a0
treee97bd85a81861d9885b274b6d6b48159a3502632
parent6e8c25b4c623f755f588893661fec77ae88e128a
migration: introduce UFFD-WP low-level interface helpers

Glue code to the userfaultfd kernel implementation.
Querying feature support, createing file descriptor, feature control,
memory region registration, IOCTLs on registered registered regions.

Signed-off-by: Andrey Gruzdev <andrey.gruzdev@virtuozzo.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20210129101407.103458-3-andrey.gruzdev@virtuozzo.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Fixed up range.start casting for 32bit
include/exec/memory.h
include/qemu/userfaultfd.h [new file with mode: 0644]
util/meson.build
util/trace-events
util/userfaultfd.c [new file with mode: 0644]