kvm: nVMX: Update MSR load counts on a VMCS switch
authorJim Mattson <jmattson@google.com>
Tue, 4 Oct 2016 17:48:38 +0000 (10:48 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Nov 2016 20:32:17 +0000 (21:32 +0100)
commit83bafef1a131d1b8743d63658a180948bc880a74
tree29aa0d20b068fd42e403fd153e5db7dc5a75cb46
parentcf3215d9394aa115d0b34d1c93512f53e425db97
kvm: nVMX: Update MSR load counts on a VMCS switch

When L0 establishes (or removes) an MSR entry in the VM-entry or VM-exit
MSR load lists, the change should affect the dormant VMCS as well as the
current VMCS. Moreover, the vmcs02 MSR-load addresses should be
initialized.

Signed-off-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c