diff options
author | Andrey Gruzdev | 2021-01-29 11:14:04 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert | 2021-02-08 12:19:51 +0100 |
commit | 0e9b5cd6b238b7ca9a3a50d957f50c37082705a0 (patch) | |
tree | e97bd85a81861d9885b274b6d6b48159a3502632 /include/exec | |
parent | migration: introduce 'background-snapshot' migration capability (diff) | |
download | qemu-0e9b5cd6b238b7ca9a3a50d957f50c37082705a0.tar.gz qemu-0e9b5cd6b238b7ca9a3a50d957f50c37082705a0.tar.xz qemu-0e9b5cd6b238b7ca9a3a50d957f50c37082705a0.zip |
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
Diffstat (limited to 'include/exec')
-rw-r--r-- | include/exec/memory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h index c6ce74fb79..37096217e7 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -149,6 +149,7 @@ typedef struct IOMMUTLBEvent { /* RAM is a persistent kind memory */ #define RAM_PMEM (1 << 5) + static inline void iommu_notifier_init(IOMMUNotifier *n, IOMMUNotify fn, IOMMUNotifierFlag flags, hwaddr start, hwaddr end, |