summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorXiao Guangrong <guangrong.xiao@linux.intel.com>2015-05-13 14:42:27 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-05-19 20:52:42 +0200
commitefdfe536d8c643391e19d5726b072f82964bfbdb (patch)
tree050f927bab93b172f01f5d872762eacd811560be /virt/kvm
parentd69afbc6b1b5d0579f13d1a6339d952c4f60a9f4 (diff)
KVM: MMU: fix MTRR update
Currently, whenever guest MTRR registers are changed kvm_mmu_reset_context is called to switch to the new root shadow page table, however, it's useless since: 1) the cache type is not cached into shadow page's attribute so that the original root shadow page will be reused 2) the cache type is set on the last spte, that means we should sync the last sptes when MTRR is changed This patch fixs this issue by drop all the spte in the gfn range which is being updated by MTRR Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions