KVM: x86: Add KVM_GET/SET_VCPU_EVENTS
authorJan Kiszka <jan.kiszka@web.de>
Thu, 12 Nov 2009 00:04:25 +0000 (01:04 +0100)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:25 +0000 (09:32 +0200)
commit3cfc3092f40bc37c57ba556cfd8de4218f2135ab
tree562d61febfe7d3c99ea08e376b3f3c016cff613c
parent65ac7264043740572ba804edca03c374d70427c9
KVM: x86: Add KVM_GET/SET_VCPU_EVENTS

This new IOCTL exports all yet user-invisible states related to
exceptions, interrupts, and NMIs. Together with appropriate user space
changes, this fixes sporadic problems of vmsave/restore, live migration
and system reset.

[avi: future-proof abi by adding a flags field]

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Documentation/kvm/api.txt
arch/x86/include/asm/kvm.h
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c
include/linux/kvm.h