Shutdown requests are normally hardware dependent. By extending pvpanic to also handle shutdown requests, guests can submit such requests with an easily implementable and cross-platform mechanism. The event was added to the specification in qemu commit 73279cecca03 ("docs/specs/pvpanic: document shutdown event").
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -7,5 +7,6 @@ · 6 unmodified lines | |||
| 7 | 7 | ||
| 8 | #define PVPANIC_PANICKED _BITUL(0) | 8 | #define PVPANIC_PANICKED _BITUL(0) |
| 9 | #define PVPANIC_CRASH_LOADED _BITUL(1) | 9 | #define PVPANIC_CRASH_LOADED _BITUL(1) |
| 10 | #define PVPANIC_SHUTDOWN _BITUL(2) | ||
| 10 | 11 | ||
| 11 | #endif /* __PVPANIC_H__ */ | 12 | #endif /* __PVPANIC_H__ */ |