mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 21:09:54 +00:00
DM: add guest vm power manager by vuart
vuart can be used as communication channel between VMs; here vuart used to control vm's power off flow; control command is from SOS to UOS Tracked-On: #3564 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
00401a1e78
commit
eb5a57b780
18
devicemodel/include/pm_vuart.h
Normal file
18
devicemodel/include/pm_vuart.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* 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);
|
||||
void pm_by_vuart_init(struct vmctx *ctx);
|
||||
void pm_by_vuart_deinit(struct vmctx *ctx);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user