projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.1k stars 505 forks source link

dm: add allow_trigger_s5 mode to pm_notify_channel uart #6034

Closed peterfang closed 3 years ago

peterfang commented 3 years ago

A user can use "--pm_notify_channel uart,allow_trigger_s5" to indicate the User VM is allowed to trigger system S5.

"--pm_notify_channel uart" means a vuart channel will be created in the User VM to allow communication with the VM's life_mngr. The Service VM can then initiate S5 in the guest via its dm's monitor interface. The additional option, "allow_trigger_s5", will create a socket connection with the Service VM's life_mngr, allowing this VM to initiate system S5.

peterfang commented 3 years ago

[External_System_ID] ACRN-7141