Files
acrn-hypervisor/devicemodel/include
Wu Zhou e83ae3e664 dm: vm_event: init vm_event
This patch adds vm_event sbuf and notification initialization.
We have 2 types of event source: DM and HV, and they are slightly
different:
 - Sbuf for DM event source is a memery page shared between threads.
   Event notifications are delivered by userspace eventfd.
 - While for hv event source,  sbuf is a memery page shared with HV. Its
   address(GPA) is shared to HV through hypercall. Its notifications
   are generated by HV upcall, then delivered by kernel/userspace eventfd.

A sbuf message path acts like a one way ‘tunnel’, so a data structure
‘vm_event_tunnel’ is created to organize those sbufs.

Tracked-On: #8547
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
..
2024-02-01 17:01:31 +08:00
2022-07-13 14:01:01 +08:00
2020-09-01 09:30:08 +08:00
2022-03-28 15:26:20 +08:00
2018-12-07 20:21:33 +08:00
2021-05-19 13:54:24 +08:00
2019-05-24 11:51:00 +08:00
2024-02-01 17:01:31 +08:00
2019-03-21 10:28:17 +08:00
2022-04-08 13:54:47 +08:00
2018-12-27 09:58:20 +08:00
2023-09-19 14:26:02 +08:00
2024-02-01 17:01:31 +08:00
2022-11-25 10:43:34 +08:00