aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorBrijesh Singh <[email protected]>2024-05-01 03:51:58 -0500
committerPaolo Bonzini <[email protected]>2024-05-12 04:09:30 -0400
commit0c76b1d08280649f789e1b537b397cefc43da7a0 (patch)
treec99759015811ecb3a6b18cd894a68411dbc55d16 /lib/test_fortify/write_overflow-strncpy-src.c
parentad27ce155566f2b4400fa865859834592bd18777 (diff)
KVM: SEV: Add support to handle GHCB GPA register VMGEXIT
SEV-SNP guests are required to perform a GHCB GPA registration. Before using a GHCB GPA for a vCPU the first time, a guest must register the vCPU GHCB GPA. If hypervisor can work with the guest requested GPA then it must respond back with the same GPA otherwise return -1. On VMEXIT, verify that the GHCB GPA matches with the registered value. If a mismatch is detected, then abort the guest. Signed-off-by: Brijesh Singh <[email protected]> Signed-off-by: Ashish Kalra <[email protected]> Signed-off-by: Michael Roth <[email protected]> Message-ID: <[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