summaryrefslogtreecommitdiff
path: root/arch/nios2/boot
diff options
context:
space:
mode:
authorJunaid Shahid <junaids@google.com>2021-08-06 15:22:29 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-08-13 03:20:58 -0400
commit85aa8889b82e0eec680a21ea28dbf57c6acfe182 (patch)
treeb5adfa1d6f4a9eaa46c603d971667e14c0820f92 /arch/nios2/boot
parent375d1adebc11b99e94e85f0ba2160e866e277447 (diff)
kvm: vmx: Sync all matching EPTPs when injecting nested EPT fault
When a nested EPT violation/misconfig is injected into the guest, the shadow EPT PTEs associated with that address need to be synced. This is done by kvm_inject_emulated_page_fault() before it calls nested_ept_inject_page_fault(). However, that will only sync the shadow EPT PTE associated with the current L1 EPTP. Since the ASID is based on EP4TA rather than the full EPTP, so syncing the current EPTP is not enough. The SPTEs associated with any other L1 EPTPs in the prev_roots cache with the same EP4TA also need to be synced. Signed-off-by: Junaid Shahid <junaids@google.com> Message-Id: <20210806222229.1645356-1-junaids@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/nios2/boot')
0 files changed, 0 insertions, 0 deletions