diff options
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r-- | include/linux/kvm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 029f0284a2fd..f04bb426618f 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -75,6 +75,7 @@ struct kvm_irqchip { | |||
75 | #define KVM_EXIT_SET_TPR 11 | 75 | #define KVM_EXIT_SET_TPR 11 |
76 | #define KVM_EXIT_TPR_ACCESS 12 | 76 | #define KVM_EXIT_TPR_ACCESS 12 |
77 | #define KVM_EXIT_S390_SIEIC 13 | 77 | #define KVM_EXIT_S390_SIEIC 13 |
78 | #define KVM_EXIT_S390_RESET 14 | ||
78 | 79 | ||
79 | /* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */ | 80 | /* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */ |
80 | struct kvm_run { | 81 | struct kvm_run { |
@@ -147,6 +148,13 @@ struct kvm_run { | |||
147 | __u16 ipa; | 148 | __u16 ipa; |
148 | __u32 ipb; | 149 | __u32 ipb; |
149 | } s390_sieic; | 150 | } s390_sieic; |
151 | /* KVM_EXIT_S390_RESET */ | ||
152 | #define KVM_S390_RESET_POR 1 | ||
153 | #define KVM_S390_RESET_CLEAR 2 | ||
154 | #define KVM_S390_RESET_SUBSYSTEM 4 | ||
155 | #define KVM_S390_RESET_CPU_INIT 8 | ||
156 | #define KVM_S390_RESET_IPL 16 | ||
157 | __u64 s390_reset_flags; | ||
150 | /* Fix the size of the union. */ | 158 | /* Fix the size of the union. */ |
151 | char padding[256]; | 159 | char padding[256]; |
152 | }; | 160 | }; |