]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
nVMX: Keep arch.pat in sync on L1-L2 switches
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 4 Aug 2013 15:17:27 +0000 (17:17 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 7 Aug 2013 13:57:45 +0000 (15:57 +0200)
commit44811c02ed94abbf0b0978c8bcce4f2603b11651
tree0ee992f806a58e70fa57185ad6134804eb8fe5d7
parentf5c4368f8514e092556cb95172024cab92d00859
nVMX: Keep arch.pat in sync on L1-L2 switches

When asking vmx to load the PAT MSR for us while switching from L1 to L2
or vice versa, we have to update arch.pat as well as it may later be
used again to load or read out the MSR content.

Reviewed-by: Gleb Natapov <gleb@redhat.com>
Tested-by: Arthur Chunqi Li <yzt356@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c