mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
dm: graceful failure in pm_vuart
- Exit main() if pm_by_vuart_init() fails - Use SIGHUP to gracefully power off a VM if pm_monitor_loop() encounters a failure - Identify a closed socket as a failure in pm_monitor_loop() Tracked-On: #5736 Signed-off-by: Peter Fang <peter.fang@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#define __PM_VUART__
|
||||
|
||||
int parse_pm_by_vuart(const char *opts);
|
||||
void pm_by_vuart_init(struct vmctx *ctx);
|
||||
int pm_by_vuart_init(struct vmctx *ctx);
|
||||
void pm_by_vuart_deinit(struct vmctx *ctx);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user