aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/virtual
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/virtual')
-rw-r--r--Documentation/virtual/kvm/api.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt
index f6ec3a92e621..a46a416810fb 100644
--- a/Documentation/virtual/kvm/api.txt
+++ b/Documentation/virtual/kvm/api.txt
@@ -1997,6 +1997,39 @@ return the hash table order in the parameter. (If the guest is using
1997the virtualized real-mode area (VRMA) facility, the kernel will 1997the virtualized real-mode area (VRMA) facility, the kernel will
1998re-create the VMRA HPTEs on the next KVM_RUN of any vcpu.) 1998re-create the VMRA HPTEs on the next KVM_RUN of any vcpu.)
1999 1999
20004.77 KVM_S390_INTERRUPT
2001
2002Capability: basic
2003Architectures: s390
2004Type: vm ioctl, vcpu ioctl
2005Parameters: struct kvm_s390_interrupt (in)
2006Returns: 0 on success, -1 on error
2007
2008Allows to inject an interrupt to the guest. Interrupts can be floating
2009(vm ioctl) or per cpu (vcpu ioctl), depending on the interrupt type.
2010
2011Interrupt parameters are passed via kvm_s390_interrupt:
2012
2013struct kvm_s390_interrupt {
2014 __u32 type;
2015 __u32 parm;
2016 __u64 parm64;
2017};
2018
2019type can be one of the following:
2020
2021KVM_S390_SIGP_STOP (vcpu) - sigp restart
2022KVM_S390_PROGRAM_INT (vcpu) - program check; code in parm
2023KVM_S390_SIGP_SET_PREFIX (vcpu) - sigp set prefix; prefix address in parm
2024KVM_S390_RESTART (vcpu) - restart
2025KVM_S390_INT_VIRTIO (vm) - virtio external interrupt; external interrupt
2026 parameters in parm and parm64
2027KVM_S390_INT_SERVICE (vm) - sclp external interrupt; sclp parameter in parm
2028KVM_S390_INT_EMERGENCY (vcpu) - sigp emergency; source cpu in parm
2029KVM_S390_INT_EXTERNAL_CALL (vcpu) - sigp external call; source cpu in parm
2030
2031Note that the vcpu ioctl is asynchronous to vcpu execution.
2032
2000 2033
20015. The kvm_run structure 20345. The kvm_run structure
2002------------------------ 2035------------------------