aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index f2acd6b9ab4d..029f0284a2fd 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -219,6 +219,21 @@ struct kvm_s390_psw {
219 __u64 addr; 219 __u64 addr;
220}; 220};
221 221
222/* valid values for type in kvm_s390_interrupt */
223#define KVM_S390_SIGP_STOP 0xfffe0000u
224#define KVM_S390_PROGRAM_INT 0xfffe0001u
225#define KVM_S390_SIGP_SET_PREFIX 0xfffe0002u
226#define KVM_S390_RESTART 0xfffe0003u
227#define KVM_S390_INT_VIRTIO 0xffff2603u
228#define KVM_S390_INT_SERVICE 0xffff2401u
229#define KVM_S390_INT_EMERGENCY 0xffff1201u
230
231struct kvm_s390_interrupt {
232 __u32 type;
233 __u32 parm;
234 __u64 parm64;
235};
236
222#define KVMIO 0xAE 237#define KVMIO 0xAE
223 238
224/* 239/*
@@ -307,6 +322,8 @@ struct kvm_s390_psw {
307#define KVM_TPR_ACCESS_REPORTING _IOWR(KVMIO, 0x92, struct kvm_tpr_access_ctl) 322#define KVM_TPR_ACCESS_REPORTING _IOWR(KVMIO, 0x92, struct kvm_tpr_access_ctl)
308/* Available with KVM_CAP_VAPIC */ 323/* Available with KVM_CAP_VAPIC */
309#define KVM_SET_VAPIC_ADDR _IOW(KVMIO, 0x93, struct kvm_vapic_addr) 324#define KVM_SET_VAPIC_ADDR _IOW(KVMIO, 0x93, struct kvm_vapic_addr)
325/* valid for virtual machine (for floating interrupt)_and_ vcpu */
326#define KVM_S390_INTERRUPT _IOW(KVMIO, 0x94, struct kvm_s390_interrupt)
310/* store status for s390 */ 327/* store status for s390 */
311#define KVM_S390_STORE_STATUS_NOADDR (-1ul) 328#define KVM_S390_STORE_STATUS_NOADDR (-1ul)
312#define KVM_S390_STORE_STATUS_PREFIXED (-2ul) 329#define KVM_S390_STORE_STATUS_PREFIXED (-2ul)