commit | e833240f3c1b0b415efb14eaa102718769d5f063 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Sun Dec 09 18:43:00 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:53:21 2008 +0200 |
tree | a2482ca91665ce0e761131d971bb418c5e8e365c | |
parent | bc750ba860d978fcaac1e0db28774b1f38ae8193 [diff] |
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>