Hi,
this is version 2 of the patch-set to make the KVM instruction emulator
aware of intercepted instructions. Noting the differences to v1 does not
make a lot of sense this this is basically a re-implementation so that
almost everything changed :-)
The re-write was done on the basis of Avi's patches he sent after the
last discussion. With these changes the implementation in the SVM code
got a lot smaller and more generic (and easier to extend). The big
switch is now only necessary for handling special cases.
Comments and feedback is appreciated.
Regards,
Joerg
Diffstat:
arch/x86/include/asm/kvm_emulate.h | 67 +++++++++
arch/x86/include/asm/kvm_host.h | 21 +++
arch/x86/kvm/emulate.c | 128 ++++++++++++++----
arch/x86/kvm/svm.c | 264 +++++++++++++++++++++++++++++-------
arch/x86/kvm/x86.c | 30 ++++
5 files changed, 432 insertions(+), 78 deletions(-)
Shortlog:
Avi Kivity (2):
KVM: x86 emulator: add framework for instruction
KVM: x86 emulator: add SVM intercepts
Joerg Roedel (11):
KVM: X86: Don't write-back cpu-state on X86EMUL_INTERCEPTED
KVM: X86: Add x86 callback for intercept check
KVM: SVM: Add intercept check for emulated cr accesses
KVM: SVM: Add intercept check for accessing dr registers
KVM: SVM: Add intercept checks for descriptor table accesses
KVM: SVM: Add intercept checks for SVM instructions
KVM: SVM: Add intercept checks for remaining group7 instructions
KVM: SVM: Add intercept checks for remaining twobyte instructions
KVM: SVM: Add intercept checks for one-byte instructions
KVM: SVM: Add checks for IO instructions
KVM: SVM: Remove nested sel_cr0_write handling code
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html