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)
commit9926c9fdbdd54bb229fe6fdbd15ca3af2b8425ae
tree77292ce4d04ab4b253186d388ff8567cf7ecad9e
parente984097b553ed2d6551c805223e4057421370f00
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