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)
commitd81135a57aa66e5bec55cdfe4dda79633f9082dd
treece0f3cf0b521e7c742e6915e160205f84987e5f0
parentefdfe536d8c643391e19d5726b072f82964bfbdb
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