]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: do not reset mmu if CR0.CD and CR0.NW are changed
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 13 May 2015 06:42:28 +0000 (14:42 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 May 2015 18:52:43 +0000 (20:52 +0200)
commit004e6e4a6f53dbb6db53f6ad5560cf957585ca1f
treece0f3cf0b521e7c742e6915e160205f84987e5f0
parent4b5b198703a750096fc914778cbe6fb1cc01a6ff
KVM: x86: do not reset mmu if CR0.CD and CR0.NW are changed

CR0.CD and CR0.NW are not used by shadow page table so that need
not adjust mmu if these two bit are changed

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c