KVM: SVM: Add intercept check for emulated cr accesses
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 4 Apr 2011 10:39:28 +0000 (12:39 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:01 +0000 (07:57 -0400)
commitcfec82cb7d313ae5b2c2dbb974401d7c214c7b09
tree63351befc6b9981127ac8dd2d22149d3ddf75806
parent8a76d7f25f8f24fc5a328c8e15e4a7313cf141b9
KVM: SVM: Add intercept check for emulated cr accesses

This patch adds all necessary intercept checks for
instructions that access the crX registers.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/emulate.c
arch/x86/kvm/svm.c
arch/x86/kvm/x86.c