]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Sync DR7 on KVM_SET_DEBUGREGS
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 4 Jan 2014 17:47:15 +0000 (18:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Jan 2014 09:22:09 +0000 (10:22 +0100)
commitde779199957374dad47ab3cc50486a2a0cf4b035
tree77292ce4d04ab4b253186d388ff8567cf7ecad9e
parentb774316820ca10c10fb3ba194ed9e1d8a0dae8a3
KVM: x86: Sync DR7 on KVM_SET_DEBUGREGS

Whenever we change arch.dr7, we also have to call kvm_update_dr7. In
case guest debugging is off, this will synchronize the new state into
hardware.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c