KVM: nVMX: Check exit control for VM_EXIT_SAVE_IA32_PAT, not entry controls
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 6 Apr 2013 11:51:21 +0000 (13:51 +0200)
committerGleb Natapov <gleb@redhat.com>
Sun, 7 Apr 2013 11:06:42 +0000 (14:06 +0300)
commitb8c07d55d010702eff61562cf9a77366833d9da2
tree0b8edf91227f746a0471eda951b564240fbed00c
parent44944d4d28948c71b110b09a2e924e505cd39e8b
KVM: nVMX: Check exit control for VM_EXIT_SAVE_IA32_PAT, not entry controls

Obviously a copy&paste mistake: prepare_vmcs12 has to check L1's exit
controls for VM_EXIT_SAVE_IA32_PAT.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/vmx.c