mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-29 21:49:05 +00:00
set the attributes during pm-vuart initialization to avoid the pm-vuart in an indefinite state. Currently we have implemented S5 triggered by SOS, these patch series both support S5 triggered by SOS and RTVM. the fully steps for S5 triggered by SOS: 1) S5-Trigger: it initiates the platform shutdown actions; it calls “acrnctl stop vmX” to do that, and check the VM's status, power-off SOS itself. 2) acrnctl will send “stop” to “acrn-dm” 3) acrn-dm will send “shutdown” command to VMx by v-UART. 4) when life-cycle manager in VMx receives the “shutdown” command, it will give an “acked” to acrn-dm, and then poweroff itself. the fully steps for S5 triggered by RTVM: 1) S5-Trigger in RTVM: it initiates the platform shutdown actions; it’ll send shutdown command for platform shutdown to life-cycle manager 2) when life-cycle manager in RTVM receive the message, it will send “shutdown” command to acrn-dm in SOS by v-UART. 3) when acrn-dm receives the “shutdown” command from RTVM, it will give an “acked” to RTVM, RTVM’s life-cycle manager can power off itself 4) acrn-dm will send “shutdown” command to its own life-cycle manager by socket. 5) when life-cycle manager in SOS receives the “shutdown” command, it can call “s5_trigger” script to shutdown platform. Tracked-On: #4446 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Reviewed-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
ACRN Device Model ################# Introduction ============ The ACRN Device Model provides **device sharing** capabilities between the Service OS and Guest OSs. It is a component that is used in conjunction with the `ACRN Hypervisor`_ and this is installed within the Service OS. You can find out more about Project ACRN on the `Project ACRN documentation`_ website. .. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor .. _`Project ACRN documentation`: https://projectacrn.github.io/