diff options
| author | Brijesh Singh <brijesh.singh@amd.com> | 2022-04-26 18:39:57 +0000 |
|---|---|---|
| committer | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-13 17:27:28 -0500 |
| commit | e097bfd27f7481cb08e058e203ad8dc2a917837b (patch) | |
| tree | 7602ff0753212cd43e2ef6fed192e4890551da7a /scripts/objdiff | |
| parent | 5f3dee52b8d7b1b5fe7da95c6cc54730f5c0a6ba (diff) | |
| download | cachepc-linux-e097bfd27f7481cb08e058e203ad8dc2a917837b.tar.gz cachepc-linux-e097bfd27f7481cb08e058e203ad8dc2a917837b.zip | |
KVM: X86: Keep the NPT and RMP page level in sync
When running an SEV-SNP VM, the sPA used to index the RMP entry is
obtained through the NPT translation (gva->gpa->spa). The NPT page
level is checked against the page level programmed in the RMP entry.
If the page level does not match, then it will cause a nested page
fault with the RMP bit set to indicate the RMP violation.
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
