Home
last modified time | relevance | path

Searched hist:b2e9426c04fdd32d93a3a37db6b0c2e67c88c335 (Results 1 – 2 of 2) sorted by relevance

/qemu/system/
H A Dphysmem.cb2e9426c04fdd32d93a3a37db6b0c2e67c88c335 Wed Mar 20 08:39:07 UTC 2024 Xiaoyao Li <xiaoyao.li@intel.com> 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>
/qemu/include/exec/
H A Dcpu-common.hb2e9426c04fdd32d93a3a37db6b0c2e67c88c335 Wed Mar 20 08:39:07 UTC 2024 Xiaoyao Li <xiaoyao.li@intel.com> 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>