diff options
author | 2024-05-31 04:46:42 +0000 | |
---|---|---|
committer | 2024-06-03 13:06:48 -0400 | |
commit | 27bd5fdc24c0d5d1306f968ef24105c4577242b0 (patch) | |
tree | db4b43259cfb6ee57fbdaf6feaa0151437b7f4c8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: SVM: WARN on vNMI + NMI window iff NMIs are outright masked (diff) | |
download | wireguard-linux-27bd5fdc24c0d5d1306f968ef24105c4577242b0.tar.xz wireguard-linux-27bd5fdc24c0d5d1306f968ef24105c4577242b0.zip |
KVM: SEV-ES: Prevent MSR access post VMSA encryption
KVM currently allows userspace to read/write MSRs even after the VMSA is
encrypted. This can cause unintentional issues if MSR access has side-
effects. For ex, while migrating a guest, userspace could attempt to
migrate MSR_IA32_DEBUGCTLMSR and end up unintentionally disabling LBRV on
the target. Fix this by preventing access to those MSRs which are context
switched via the VMSA, once the VMSA is encrypted.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Nikunj A Dadhania <nikunj@amd.com>
Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com>
Message-ID: <20240531044644.768-2-ravi.bangoria@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions