]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Add x86 callback for intercept check
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 4 Apr 2011 10:39:27 +0000 (12:39 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:01 +0000 (07:57 -0400)
commit4114e0603cf4cbaeb4fd64246973a97e39e6b2c6
tree7adadd7663b006d75563c457c6b7c5f91a4d16d2
parentf47d6f641a6c857cc81c6a80ac4c79e75a988965
KVM: x86: Add x86 callback for intercept check

This patch adds a callback into kvm_x86_ops so that svm and
vmx code can do intercept checks on emulated instructions.

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/vmx.c
arch/x86/kvm/x86.c