commit | 8246bf52c75aa9b9b336a84f31ed2248754d0f71 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Sat Jan 04 18:47:17 2014 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jan 17 10:22:12 2014 +0100 |
tree | 099477dbaefe4a61c5c117097b54cf922acdd23d | |
parent | 73aaf249ee2287b4686ff079dcbdbbb658156e64 [diff] |
KVM: VMX: Fix DR6 update on #DB exception According to the SDM, only bits 0-3 of DR6 "may" be cleared by "certain" debug exception. So do update them on #DB exception in KVM, but leave the rest alone, only setting BD and BS in addition to already set bits in DR6. This also aligns us with kvm_vcpu_check_singlestep. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>