Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm: vm_event: send poweroff event on pm port write
When the virtual PM port is written, we can infer that guest has just initiated a poweroff action. So we send a poweroff event upon this port write. The DM event handler will try to emit it (to Libvirt). Developers can write app/script to decide what to do with this event. Tracked-On: projectacrn#8547 Signed-off-by: Wu Zhou <wu.zhou@intel.com> Reviewed-by: Jian Jun Chen <jian.jun.chen@intel.com>
- Loading branch information