diff options
| author | 2025-06-02 15:44:59 -0700 | |
|---|---|---|
| committer | 2025-06-24 12:20:15 -0700 | |
| commit | 48f15f624189762e7ff2d95bcbb68e21c2d56077 (patch) | |
| tree | b6ce5a3227ac263d1279da51ff88de8f8902b966 /drivers/usb/cdns3/cdnsp-debug.h | |
| parent | KVM: SVM: Reject SEV{-ES} intra host migration if vCPU creation is in-flight (diff) | |
| download | wireguard-linux-48f15f624189762e7ff2d95bcbb68e21c2d56077.tar.xz wireguard-linux-48f15f624189762e7ff2d95bcbb68e21c2d56077.zip | |
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 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions
