KVM: x86: Emulator should set DR6 upon GD like real CPU
authorNadav Amit <namit@cs.technion.ac.il>
Sun, 2 Nov 2014 09:54:43 +0000 (11:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Nov 2014 14:44:02 +0000 (15:44 +0100)
commit6d2a0526b09e551d0f395cfb63e7cb965db825af
tree20748d796d155fc44cd1102b8fb4a66663548805
parent3ffb24681cc46f869378a4de54615db8d4ef0daf
KVM: x86: Emulator should set DR6 upon GD like real CPU

It should clear B0-B3 and set BD.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c