diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-06-03 01:44:59 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-06-24 22:20:15 +0300 |
| commit | 48f15f624189762e7ff2d95bcbb68e21c2d56077 (patch) | |
| tree | b6ce5a3227ac263d1279da51ff88de8f8902b966 /rust/helpers | |
| parent | ecf371f8b02d5e31b9aa1da7f159f1b2107bdb01 (diff) | |
| download | linux-48f15f624189762e7ff2d95bcbb68e21c2d56077.tar.xz | |
KVM: SVM: Initialize vmsa_pa in VMCB to INVALID_PAGE if VMSA page is NULL
When creating an SEV-ES vCPU for intra-host migration, set its vmsa_pa to
INVALID_PAGE to harden against doing VMRUN with a bogus VMSA (KVM checks
for a valid VMSA page in pre_sev_run()).
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Tested-by: Liam Merwick <liam.merwick@oracle.com>
Link: https://lore.kernel.org/r/20250602224459.41505-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions
