|
@@ -2740,6 +2740,21 @@ It gets triggered whenever both KVM_CAP_PPC_EPR are enabled and an
|
|
|
external interrupt has just been delivered into the guest. User space
|
|
|
should put the acknowledged interrupt vector into the 'epr' field.
|
|
|
|
|
|
+ /* KVM_EXIT_SYSTEM_EVENT */
|
|
|
+ struct {
|
|
|
+#define KVM_SYSTEM_EVENT_SHUTDOWN 1
|
|
|
+#define KVM_SYSTEM_EVENT_RESET 2
|
|
|
+ __u32 type;
|
|
|
+ __u64 flags;
|
|
|
+ } system_event;
|
|
|
+
|
|
|
+If exit_reason is KVM_EXIT_SYSTEM_EVENT then the vcpu has triggered
|
|
|
+a system-level event using some architecture specific mechanism (hypercall
|
|
|
+or some special instruction). In case of ARM/ARM64, this is triggered using
|
|
|
+HVC instruction based PSCI call from the vcpu. The 'type' field describes
|
|
|
+the system-level event type. The 'flags' field describes architecture
|
|
|
+specific flags for the system-level event.
|
|
|
+
|
|
|
/* Fix the size of the union. */
|
|
|
char padding[256];
|
|
|
};
|