KVM: VMX: Fix emulation of DR4 and DR5
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 20 Jan 2010 17:20:20 +0000 (18:20 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:36:01 +0000 (12:36 -0300)
commit138ac8d88f91e2a6a278aa5cee9120c714c4ce2d
tree6d271169762e5266db7d46fe0ea0f07e2a97663a
parentf2483415293b180945da707e7dbe74e5daa72651
KVM: VMX: Fix emulation of DR4 and DR5

Make sure DR4 and DR5 are aliased to DR6 and DR7, respectively, if
CR4.DE is not set.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c