aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorNikunj A Dadhania <nikunj@amd.com>2024-05-31 04:46:42 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2024-06-03 13:06:48 -0400
commit27bd5fdc24c0d5d1306f968ef24105c4577242b0 (patch)
treedb4b43259cfb6ee57fbdaf6feaa0151437b7f4c8 /scripts/gdb/linux/mm.py
parentb4bd556467477420ee3a91fbcba73c579669edc6 (diff)
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 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions