diff options
author | 2024-03-20 03:39:07 -0500 | |
---|---|---|
committer | 2024-04-23 17:35:26 +0200 | |
commit | b2e9426c04fdd32d93a3a37db6b0c2e67c88c335 (patch) | |
tree | a9834ac90f0493c8a24502d2c6f1c7c97667aa6a /plugins/api.c | |
parent | RAMBlock: make guest_memfd require uncoordinated discard (diff) | |
download | qemu-b2e9426c04fdd32d93a3a37db6b0c2e67c88c335.tar.xz qemu-b2e9426c04fdd32d93a3a37db6b0c2e67c88c335.zip |
physmem: Introduce ram_block_discard_guest_memfd_range()
When memory page is converted from private to shared, the original
private memory is back'ed by guest_memfd. Introduce
ram_block_discard_guest_memfd_range() for discarding memory in
guest_memfd.
Based on a patch by Isaku Yamahata <isaku.yamahata@intel.com>.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Message-ID: <20240320083945.991426-12-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'plugins/api.c')
0 files changed, 0 insertions, 0 deletions