summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-12-09 18:43:00 +0200
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:21 +0200
commite833240f3c1b0b415efb14eaa102718769d5f063 (patch)
treea2482ca91665ce0e761131d971bb418c5e8e365c /drivers/kvm/svm.c
parentbc750ba860d978fcaac1e0db28774b1f38ae8193 (diff)
downloadlinux-e833240f3c1b0b415efb14eaa102718769d5f063.tar.bz2
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 'drivers/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions