Skip to content
Commit e833240f authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: MMU: Use mmu_set_spte() for real-mode shadows



In addition to removing some duplicated code, this also handles the unlikely
case of real-mode code updating a guest page table.  This can happen when
one vcpu (in real mode) touches a second vcpu's (in protected mode) page
tables, or if a vcpu switches to real mode, touches page tables, and switches
back.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent bc750ba8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment