hypervisor: maintain a bitmap for SEV-SNP VM on MSHV

Add a bitmap to MshvVM struct for caching the pages
that the VMM got shared access from the guest.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam
2024-09-05 16:16:02 -07:00
committed by Wei Liu
parent 149c342867
commit 4e298d1abf
3 changed files with 61 additions and 2 deletions

1
Cargo.lock generated
View File

@@ -958,6 +958,7 @@ name = "hypervisor"
version = "0.1.0"
dependencies = [
"anyhow",
"arc-swap",
"byteorder",
"cfg-if",
"concat-idents",