commit | 699a1ac214328569d203b9c6bfc22903d5642dee | [log] [tgz] |
---|---|---|
author | Sean Christopherson <sean.j.christopherson@intel.com> | Tue May 07 09:06:37 2019 -0700 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 18 11:47:37 2019 +0200 |
tree | 7c2cf3f091ffed8144290c7ec9809e014532cb7d | |
parent | de70d279709efb7d0b0c0dce2eb398fc43c4b7f6 [diff] |
KVM: nVMX: Update vmcs12 for MSR_IA32_DEBUGCTLMSR when it's written KVM unconditionally intercepts WRMSR to MSR_IA32_DEBUGCTLMSR. In the unlikely event that L1 allows L2 to write L1's MSR_IA32_DEBUGCTLMSR, but but saves L2's value on VM-Exit, update vmcs12 during L2's WRMSR so as to eliminate the need to VMREAD the value from vmcs02 on nested VM-Exit. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>