mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-23 02:16:48 +00:00
- 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>
19 lines
334 B
C
19 lines
334 B
C
/*
|
|
* Project Acrn
|
|
* Acrn-dm: pm-vuart
|
|
*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*
|
|
*/
|
|
|
|
#ifndef __PM_VUART__
|
|
#define __PM_VUART__
|
|
|
|
int parse_pm_by_vuart(const char *opts);
|
|
int pm_by_vuart_init(struct vmctx *ctx);
|
|
void pm_by_vuart_deinit(struct vmctx *ctx);
|
|
|
|
#endif
|