diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2014-01-04 18:47:17 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-01-17 10:22:12 +0100 |
commit | 8246bf52c75aa9b9b336a84f31ed2248754d0f71 (patch) | |
tree | 099477dbaefe4a61c5c117097b54cf922acdd23d /arch/powerpc/kvm/e500.h | |
parent | 73aaf249ee2287b4686ff079dcbdbbb658156e64 (diff) | |
download | linux-8246bf52c75aa9b9b336a84f31ed2248754d0f71.tar.bz2 |
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>
Diffstat (limited to 'arch/powerpc/kvm/e500.h')
0 files changed, 0 insertions, 0 deletions