diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2012-12-20 09:32:09 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2013-01-07 16:53:41 -0500 |
commit | 48a3e950f4cee6a345ffbe9baf599f1e9a54c479 (patch) | |
tree | 3e60015a025df89b28df12c6470babbfb566e766 /Documentation/virtual/kvm | |
parent | d8346b7d9bab37e6cc712ff1622c65ff98bdfef8 (diff) |
KVM: s390: Add support for machine checks.
Add support for injecting machine checks (only repressible
conditions for now).
This is a bit more involved than I/O interrupts, for these reasons:
- Machine checks come in both floating and cpu varieties.
- We don't have a bit for machine checks enabling, but have to use
a roundabout approach with trapping PSW changing instructions and
watching for opened machine checks.
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'Documentation/virtual/kvm')
-rw-r--r-- | Documentation/virtual/kvm/api.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 83bd92b52936..8a0de309932f 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentation/virtual/kvm/api.txt | |||
@@ -2073,6 +2073,10 @@ KVM_S390_INT_IO(ai,cssid,ssid,schid) (vm) - compound value to indicate an | |||
2073 | I/O interrupt (ai - adapter interrupt; cssid,ssid,schid - subchannel); | 2073 | I/O interrupt (ai - adapter interrupt; cssid,ssid,schid - subchannel); |
2074 | I/O interruption parameters in parm (subchannel) and parm64 (intparm, | 2074 | I/O interruption parameters in parm (subchannel) and parm64 (intparm, |
2075 | interruption subclass) | 2075 | interruption subclass) |
2076 | KVM_S390_MCHK (vm, vcpu) - machine check interrupt; cr 14 bits in parm, | ||
2077 | machine check interrupt code in parm64 (note that | ||
2078 | machine checks needing further payload are not | ||
2079 | supported by this ioctl) | ||
2076 | 2080 | ||
2077 | Note that the vcpu ioctl is asynchronous to vcpu execution. | 2081 | Note that the vcpu ioctl is asynchronous to vcpu execution. |
2078 | 2082 | ||