summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-12-09 17:43:00 +0100
committerAvi Kivity <avi@qumranet.com>2008-01-30 16:53:21 +0100
commite833240f3c1b0b415efb14eaa102718769d5f063 (patch)
treea2482ca91665ce0e761131d971bb418c5e8e365c /drivers/kvm/svm.c
parentKVM: MMU: Adjust mmu_set_spte() debug code for gpte removal (diff)
downloadlinux-e833240f3c1b0b415efb14eaa102718769d5f063.tar.xz
linux-e833240f3c1b0b415efb14eaa102718769d5f063.zip
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: Avi Kivity <avi@qumranet.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions