]> git.karo-electronics.de Git - mv-sheeva.git/commit
KVM: VMX: Only reset MMU when necessary
authorSheng Yang <sheng@linux.intel.com>
Wed, 12 May 2010 08:40:42 +0000 (16:40 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:45 +0000 (10:35 +0300)
commitaad827034e419fa8c5ec39e6455266f0b942d856
treec49cbdc633b0146c9af9fdf5036dfdb09a008d97
parent62ad07551a2ace89e35604d1c55fdae1dd3359a8
KVM: VMX: Only reset MMU when necessary

Only modifying some bits of CR0/CR4 needs paging mode switch.

Modify EFER.NXE bit would result in reserved bit updates.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c