KVM: SVM: Add intercept checks for descriptor table accesses
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 4 Apr 2011 10:39:30 +0000 (12:39 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:02 +0000 (07:57 -0400)
commitdee6bb70e4ac0588c98cc4e661664f0653117f89
tree5ac61776dd5e6590b4b0b03b1ecc6e4cd031b85a
parent3b88e41a41344846ee28007ebfe1bb0defa7f86a
KVM: SVM: Add intercept checks for descriptor table accesses

This patch add intercept checks into the KVM instruction
emulator to check for the 8 instructions that access the
descriptor table addresses.

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