KVM: nVMX: Allow nested guests to run with dirty debug registers
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Feb 2014 09:36:37 +0000 (10:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Mar 2014 09:46:03 +0000 (10:46 +0100)
commitd16c293e4ecbddedfc1d64095ce56f0569adc12b
treed0a997e495eb90b26f7ff67302959423d995d8ce
parent81908bf44340eb5ebc9969f67e6c8be0c92f2857
KVM: nVMX: Allow nested guests to run with dirty debug registers

When preparing the VMCS02, the CPU-based execution controls is computed
by vmx_exec_control.  Turn off DR access exits there, too, if the
KVM_DEBUGREG_WONT_EXIT bit is set in switch_db_regs.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c