diff options
author | Nadav Amit | 2014-09-30 19:49:14 +0200 |
---|---|---|
committer | Paolo Bonzini | 2014-11-03 12:07:23 +0100 |
commit | 6bdf06625d240361e92254143a123ab432e337f8 (patch) | |
tree | 4c3935eecde52126dd7fad88d3e4a5d3171fbcb1 /arch/x86/kvm/emulate.c | |
parent | KVM: x86: some apic broadcast modes does not work (diff) | |
download | kernel-qcow2-linux-6bdf06625d240361e92254143a123ab432e337f8.tar.gz kernel-qcow2-linux-6bdf06625d240361e92254143a123ab432e337f8.tar.xz kernel-qcow2-linux-6bdf06625d240361e92254143a123ab432e337f8.zip |
KVM: x86: DR7.GD should be cleared upon any #DB exception
Intel SDM 17.2.4 (Debug Control Register (DR7)) says: "The processor clears the
GD flag upon entering to the debug exception handler." This sentence may be
misunderstood as if it happens only on #DB due to debug-register protection,
but it happens regardless to the cause of the #DB.
Fix the behavior to match both real hardware and Bochs.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions