Next round of this series. This time I generalized the NMI substate to
an event substate that covers missing states around exceptions,
interrupts and NMIs. Moreover, I added KVM_CHECK_VCPU_STATES to query if
certain substates are support (current user land will not make use of
this as this base set of substates is covered by KVM_CAP_VCPU_STATE).
I did not include a substate for SVM as I do not feel like the
requirement discussion has settled already. However, adding such a
substate on top of this series later on will be straightforward.
Find this series also at git://git.kiszka.org/linux-kvm.git queues/vcpu-state
Jan Kiszka (4):
KVM: Reorder IOCTLs in main kvm.h
KVM: Add unified KVM_GET/SET_VCPU_STATE IOCTL
KVM: x86: Add support for KVM_GET/SET_VCPU_STATE
KVM: x86: Add VCPU substate for event states
Documentation/kvm/api.txt | 140 +++++++++++++++
arch/ia64/kvm/kvm-ia64.c | 17 ++
arch/powerpc/kvm/powerpc.c | 17 ++
arch/s390/kvm/kvm-s390.c | 17 ++
arch/x86/include/asm/kvm.h | 31 ++++-
arch/x86/include/asm/kvm_host.h | 2 +
arch/x86/kvm/svm.c | 22 +++
arch/x86/kvm/vmx.c | 30 ++++
arch/x86/kvm/x86.c | 320 +++++++++++++++++++++++++---------
include/linux/kvm.h | 261 ++++++++++++++++------------
include/linux/kvm_host.h | 6 +
virt/kvm/kvm_main.c | 367 +++++++++++++++++++++++++++++----------
12 files changed, 940 insertions(+), 290 deletions(-)
--
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