History

KVM: s390: new parameter for SIGP STOP irqs

In order to get rid of the action_flags and to properly migrate pending SIGP STOP irqs triggered e.g. by SIGP STOP AND STORE STATUS, we need to remember whether to store the status when stopping. For this reason, a new parameter (flags) for the SIGP STOP irq is introduced. These flags further define details of the requested STOP and can be easily migrated.

David Hildenbrand committed 12 years ago

Commit 28225451 parent 2d00f754 files · +26 −2Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/kvm.h+6−0
@@ -491,6 +491,11 @@ struct kvm_s390_emerg_info { · 490 unmodified lines
491491 __u16 code;
492492 };
493493
494+#define KVM_S390_STOP_FLAG_STORE_STATUS 0x01
495+struct kvm_s390_stop_info {
496+ __u32 flags;
497+};
498+
494499 struct kvm_s390_mchk_info {
495500 __u64 cr14;
496501 __u64 mcic;
@@ -509,6 +514,7 @@ struct kvm_s390_irq { · 12 unmodified lines
509514 struct kvm_s390_emerg_info emerg;
510515 struct kvm_s390_extcall_info extcall;
511516 struct kvm_s390_prefix_info prefix;
517+ struct kvm_s390_stop_info stop;
512518 struct kvm_s390_mchk_info mchk;
513519 char reserved[64];
514520 } u;