diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kvm.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 92045a92d714..2d241da07236 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -181,6 +181,11 @@ struct kvm_run { | |||
181 | __u64 cr8; | 181 | __u64 cr8; |
182 | __u64 apic_base; | 182 | __u64 apic_base; |
183 | 183 | ||
184 | #ifdef __KVM_S390 | ||
185 | /* the processor status word for s390 */ | ||
186 | __u64 psw_mask; /* psw upper half */ | ||
187 | __u64 psw_addr; /* psw lower half */ | ||
188 | #endif | ||
184 | union { | 189 | union { |
185 | /* KVM_EXIT_UNKNOWN */ | 190 | /* KVM_EXIT_UNKNOWN */ |
186 | struct { | 191 | struct { |
@@ -232,8 +237,6 @@ struct kvm_run { | |||
232 | /* KVM_EXIT_S390_SIEIC */ | 237 | /* KVM_EXIT_S390_SIEIC */ |
233 | struct { | 238 | struct { |
234 | __u8 icptcode; | 239 | __u8 icptcode; |
235 | __u64 mask; /* psw upper half */ | ||
236 | __u64 addr; /* psw lower half */ | ||
237 | __u16 ipa; | 240 | __u16 ipa; |
238 | __u32 ipb; | 241 | __u32 ipb; |
239 | } s390_sieic; | 242 | } s390_sieic; |
@@ -492,6 +495,7 @@ struct kvm_ioeventfd { | |||
492 | #ifdef __KVM_HAVE_VCPU_EVENTS | 495 | #ifdef __KVM_HAVE_VCPU_EVENTS |
493 | #define KVM_CAP_VCPU_EVENTS 41 | 496 | #define KVM_CAP_VCPU_EVENTS 41 |
494 | #endif | 497 | #endif |
498 | #define KVM_CAP_S390_PSW 42 | ||
495 | 499 | ||
496 | #ifdef KVM_CAP_IRQ_ROUTING | 500 | #ifdef KVM_CAP_IRQ_ROUTING |
497 | 501 | ||