mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 03:40:27 +00:00
hv: shutdown guest VM upon triple fault exceptions
This patch implements triple fault vmexit handler and base on VM types: - post-launched VMs: shutdown_target_vm() injects S5 PIO write to request DM to shut down the target VM. - pre-launched VMs: shut down the guest. - SOS: similarly, but shut down all the non real-time post-launched VMs that depend to SOS before shutting down SOS. Tracked-On: #2700 Signed-off-by: Zide Chen <zide.chen@intel.com> Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -9,5 +9,6 @@
|
||||
|
||||
void register_reset_port_handler(struct acrn_vm *vm);
|
||||
void shutdown_vm_from_idle(uint16_t pcpu_id);
|
||||
void triple_fault_shutdown_vm(struct acrn_vm *vm);
|
||||
|
||||
#endif /* VM_RESET_H_ */
|
||||
|
Reference in New Issue
Block a user