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:
Minggui Cao
2019-09-04 17:40:09 +08:00
committed by ACRN System Integration
parent 00401a1e78
commit eb5a57b780
4 changed files with 243 additions and 3 deletions

View 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