acrn-hypervisor/devicemodel/include
Yin Fengwei db46df940e DM: add init/deinit function for mevent
Current, mevent cleanup path has issue. There are possible
following calling sequence happen when reboot/poweroff UOS:
 1. mevent_dispatch() calls mevent_destroy
 2. do_close_post calls some virtual device deinit to delete
    mevent.

This patch introduce mevent init/deinit to make sure:
 1. mevent init
 2. mevent_add is called when init virtual device
 3. mevent_del is called when deinit virtual device
 4. mevent deinit

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-05-15 17:25:27 +08:00
..
public dm: sync common header file to DM 2018-05-15 17:25:26 +08:00
acpi.h DM: build UOS DSDT with vcpu px state data 2018-05-15 17:25:25 +08:00
ahci.h initial import 2018-05-11 14:44:28 +08:00
ata.h initial import 2018-05-11 14:44:28 +08:00
atkbdc.h DM: add deinit function to virtual keyboard device 2018-05-15 17:25:24 +08:00
block_if.h initial import 2018-05-11 14:44:28 +08:00
console.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
cpuset.h initial import 2018-05-11 14:44:28 +08:00
dm.h DM: Add long option to enable trusty 2018-05-15 17:25:23 +08:00
gc.h initial import 2018-05-11 14:44:28 +08:00
heci.h virtio-heci: Introduce TX and RX threads for data transfer 2018-05-15 17:25:26 +08:00
inout.h initial import 2018-05-11 14:44:28 +08:00
ioapic.h initial import 2018-05-11 14:44:28 +08:00
iodev.h initial import 2018-05-11 14:44:28 +08:00
irq.h initial import 2018-05-11 14:44:28 +08:00
lpc.h initial import 2018-05-11 14:44:28 +08:00
macros.h initial import 2018-05-11 14:44:28 +08:00
mc146818rtc.h initial import 2018-05-11 14:44:28 +08:00
mem.h initial import 2018-05-11 14:44:28 +08:00
mevent.h DM: add init/deinit function for mevent 2018-05-15 17:25:27 +08:00
monitor.h monitor: an interface of acrn-dm 2018-05-15 17:25:25 +08:00
monitor_msg.h monitor: an interface of acrn-dm 2018-05-15 17:25:25 +08:00
mptable.h initial import 2018-05-11 14:44:28 +08:00
mptbl.h initial import 2018-05-11 14:44:28 +08:00
netmap.h initial import 2018-05-11 14:44:28 +08:00
netmap_user.h initial import 2018-05-11 14:44:28 +08:00
ns16550.h initial import 2018-05-11 14:44:28 +08:00
pci_core.h Revert "Fix compilation on Ubuntu 14.04" 2018-05-15 17:25:26 +08:00
pciio.h initial import 2018-05-11 14:44:28 +08:00
pcireg.h initial import 2018-05-11 14:44:28 +08:00
ps2kbd.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
ps2mouse.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
rtc.h DM: refine cleanup functionality of virtual RTC 2018-05-15 17:25:24 +08:00
segments.h initial import 2018-05-11 14:44:28 +08:00
smbiostbl.h initial import 2018-05-11 14:44:28 +08:00
specialreg.h initial import 2018-05-11 14:44:28 +08:00
sw_load.h DM: add add_e820_entry to update e820 table. 2018-05-15 17:25:26 +08:00
tree.h initial import 2018-05-11 14:44:28 +08:00
types.h initial import 2018-05-11 14:44:28 +08:00
uart_core.h initial import 2018-05-11 14:44:28 +08:00
usb.h initial import 2018-05-11 14:44:28 +08:00
usb_core.h initial import 2018-05-11 14:44:28 +08:00
usbdi.h initial import 2018-05-11 14:44:28 +08:00
vbs_common_if.h initial import 2018-05-11 14:44:28 +08:00
virtio.h dm/VBS-U: increase generation when configuration changed 2018-05-15 17:25:24 +08:00
virtio_kernel.h initial import 2018-05-11 14:44:28 +08:00
vmm.h initial import 2018-05-11 14:44:28 +08:00
vmmapi.h DM: add vmm interface to get px data 2018-05-15 17:25:25 +08:00
xhci.h initial import 2018-05-11 14:44:28 +08:00
xhcireg.h initial import 2018-05-11 14:44:28 +08:00