]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: SEV: Implement gmem hook for invalidating private pages
authorMichael Roth <michael.roth@amd.com>
Wed, 1 May 2024 08:52:04 +0000 (03:52 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 12 May 2024 08:09:32 +0000 (04:09 -0400)
commit8eb01900b018b1bf20ce695758f30be71bd1b9ac
tree3eb033d58efd31e949b42bfbd33fd857a9e7aadb
parent4f2e7aa1cfdf4374a4c876c9358e0d7035647eb1
KVM: SEV: Implement gmem hook for invalidating private pages

Implement a platform hook to do the work of restoring the direct map
entries of gmem-managed pages and transitioning the corresponding RMP
table entries back to the default shared/hypervisor-owned state.

Signed-off-by: Michael Roth <michael.roth@amd.com>
Message-ID: <20240501085210.2213060-15-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/Kconfig
arch/x86/kvm/svm/sev.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h