diff options
author | Michael Roth <[email protected]> | 2024-05-01 03:52:00 -0500 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-05-12 04:09:31 -0400 |
commit | 9b54e248d2644be71cb394eb85f31ad99e023a05 (patch) | |
tree | 61f6bbf12fbcad9b4f524002213adb6bc828f4cf /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | d46b7b6a5f9ec652a9e3ac6344f679235c9b67da (diff) |
KVM: SEV: Add support to handle Page State Change VMGEXIT
SEV-SNP VMs can ask the hypervisor to change the page state in the RMP
table to be private or shared using the Page State Change NAE event
as defined in the GHCB specification version 2.
Forward these requests to userspace as KVM_EXIT_VMGEXITs, similar to how
it is done for requests that don't use a GHCB page.
As with the MSR-based page-state changes, use the existing
KVM_HC_MAP_GPA_RANGE hypercall format to deliver these requests to
userspace via KVM_EXIT_HYPERCALL.
Signed-off-by: Michael Roth <[email protected]>
Co-developed-by: Brijesh Singh <[email protected]>
Signed-off-by: Brijesh Singh <[email protected]>
Signed-off-by: Ashish Kalra <[email protected]>
Message-ID: <[email protected]>
Co-developed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions