]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: x86 emulator: fix mov dr to inject #UD when needed.
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:11 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:06 +0000 (12:16 +0300)
commit1e470be5a10801cb1c5c145f2cd9e0f5ebaf4f2e
tree1a3d013bc5f990e42ab2195b6fa9d5af8a4b78a7
parent6aebfa6ea75f9a02a0339e733090dd40d6f2edfd
KVM: x86 emulator: fix mov dr to inject #UD when needed.

If CR4.DE=1 access to registers DR4/DR5 cause #UD.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c