1
0
mirror of https://github.com/projectacrn/acrn-hypervisor.git synced 2025-05-08 08:26:55 +00:00
acrn-hypervisor/devicemodel
Wu Zhou 7eb44dbcd3 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: 
Signed-off-by: Wu Zhou <wu.zhou@intel.com>
Reviewed-by: Jian Jun Chen <jian.jun.chen@intel.com>
2024-02-01 17:01:31 +08:00
..
arch/x86 dm: vm_event: send poweroff event on pm port write 2024-02-01 17:01:31 +08:00
bios OVMF release v3.0 2022-03-31 09:06:34 +08:00
core dm: vm_event: add support for RTC change event 2024-02-01 17:01:31 +08:00
hw dm: vm_event: add support for RTC change event 2024-02-01 17:01:31 +08:00
include dm: vm_event: add support for RTC change event 2024-02-01 17:01:31 +08:00
lib Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
log Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
Makefile dm: vm_event: init vm_event 2024-02-01 17:01:31 +08:00
README.rst doc: terminology cleanup in DM readme 2021-11-24 06:29:25 -08:00
samples acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00

ACRN Device Model
#################

Introduction
============

The ACRN Device Model provides **device sharing** capabilities between the
Service VM and post-launched User VMs. It is a component that is used in
conjunction with the `ACRN Hypervisor`_ and is installed within the Service
VM.

.. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor