]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Don't reset mmu context unnecessarily when updating EFER
authorAvi Kivity <avi@redhat.com>
Mon, 11 Oct 2010 12:23:39 +0000 (14:23 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 2 Jan 2011 10:05:15 +0000 (12:05 +0200)
commitaf733bd7692699f6fa181edd62e58d9614aa94e1
tree35ec0e11d22e09ee106835788bd68f47475edbab
parent89dbfe4ad149c309590fec6c8d29d8be0e282801
KVM: Don't reset mmu context unnecessarily when updating EFER

The only bit of EFER that affects the mmu is NX, and this is already
accounted for (LME only takes effect when changing cr0).

Based on a patch by Hillf Danton.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c