Files
qemu/include/exec
Wei Wang 35bb3ae328 softmmu/physmem: add cgs_bitmap
Add a per-RAMBlock bitmap (named cgs_bmap) to record if a guest-physical
address is private/shared. The bitmap is allocated only when the guest is
a confidential guest, so it's allocated in the private memory backend.

By default, bits are 0 in the bitmap to indicate all the guest pages are
private pages. When the guest changes a private page to share or shared
page to private later, it exits to QEMU with the KVM_EXIT_MEMORY_FAULT
reason and the cgs_bmap will be updated accordingly.

Signed-off-by: Wei Wang <wei.w.wang@intel.com>
2023-11-28 17:14:53 +02:00
..
2022-04-06 10:50:37 +02:00
2021-11-29 15:12:37 +00:00
2020-09-30 11:29:56 +02:00
2022-04-06 10:50:37 +02:00
2023-11-28 17:14:53 +02:00
2022-07-05 10:15:49 +02:00
2023-11-28 17:14:53 +02:00