mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
Since ACRN has the capability to reboot and reboot reason is available
in SOS, acrnprobe could detect the crash of acrn and SOS kernel.
List of added crash types:
1. ACRNCRASH - crashed in hypervisor, this detection depends on
files in /tmp/acrnlog_last(provided by acrnlog).
2. IPANIC - crashed in SOS kernel, this detection depends on
pstore.
3. SWWDT_IPANIC - crashed in SOS kernel and reboot reason is wdt.
4. HWWDT_UNHANDLE - only recognize reboot reason is global, there is no
further clues that it's a SOS kernel crash or a
hypervisor crash.
5. SWWDT_UNHANDLE - only recognize reboot reason is wdt, there is no
further clues that it's a SOS kernel crash or a
hypervisor crash.
6. UNKNOWN - only recognize reboot reason is warm, there is no
further clues that it's a SOS kernel crash or a
hypervisor crash.
Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com>
Acked-by: Chen Gang <gang.c.chen@intel.com>
16 lines
285 B
Desktop File
16 lines
285 B
Desktop File
[Unit]
|
|
Description=ACRN crashlog probe
|
|
Requires=telemd.socket
|
|
Requires=usercrash_s
|
|
After=acrnlog.service
|
|
After=usercrash.service
|
|
After=prepare.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/acrnprobe
|
|
ExecStop=/usr/bin/killall -s TERM acrnprobe
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|