]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Generalize exception injection mechanism
authorAvi Kivity <avi@qumranet.com>
Sun, 25 Nov 2007 11:41:11 +0000 (13:41 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:18 +0000 (17:53 +0200)
commit5244ec5ad71fb235ca4dec4a74980c9b88eb1f4c
tree2c0808964e5bc04812f0379b945fb187aaf901eb
parenta7c4d922bbf902bb39977d8e5fe8dff401205891
KVM: Generalize exception injection mechanism

Instead of each subarch doing its own thing, add an API for queuing an
injection, and manage failed exception injection centerally (i.e., if
an inject failed due to a shadow page fault, we need to requeue it).

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/svm.c
drivers/kvm/vmx.c
drivers/kvm/x86.c
drivers/kvm/x86.h