]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/kvm.h
KVM: s390: sie intercept handling
[linux-2.6-omap-h63xx.git] / include / linux / kvm.h
index 2367ff0c5dd085188c16292d1e3f5a222cbdd1da..f2acd6b9ab4d55d4732b3518b6b7e9c7441585e6 100644 (file)
@@ -74,6 +74,7 @@ struct kvm_irqchip {
 #define KVM_EXIT_INTR             10
 #define KVM_EXIT_SET_TPR          11
 #define KVM_EXIT_TPR_ACCESS       12
+#define KVM_EXIT_S390_SIEIC       13
 
 /* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */
 struct kvm_run {
@@ -138,6 +139,14 @@ struct kvm_run {
                        __u32 is_write;
                        __u32 pad;
                } tpr_access;
+               /* KVM_EXIT_S390_SIEIC */
+               struct {
+                       __u8 icptcode;
+                       __u64 mask; /* psw upper half */
+                       __u64 addr; /* psw lower half */
+                       __u16 ipa;
+                       __u32 ipb;
+               } s390_sieic;
                /* Fix the size of the union. */
                char padding[256];
        };