]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit903daf469a1e2411fa7a4348f41070f6144b2c6a
treed0a997e495eb90b26f7ff67302959423d995d8ce
parent1882492df1aaf3d6d544a9ddb777b636c9391085
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