]> 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)
commit22ab2e6b66fd210f9956050b13f08ba14ec6ff22
treece0f3cf0b521e7c742e6915e160205f84987e5f0
parent64624304d0506586c181953d590b9036544d6a7c
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