diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2024-05-01 11:51:58 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-05-12 11:09:30 +0300 |
commit | 0c76b1d08280649f789e1b537b397cefc43da7a0 (patch) | |
tree | c99759015811ecb3a6b18cd894a68411dbc55d16 /tools/perf/scripts/python/stackcollapse.py | |
parent | ad27ce155566f2b4400fa865859834592bd18777 (diff) | |
download | linux-0c76b1d08280649f789e1b537b397cefc43da7a0.tar.xz |
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 <brijesh.singh@amd.com>
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Message-ID: <20240501085210.2213060-9-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions