acrn-hypervisor/hypervisor/dm/vpci
Sainath Grandhi 53b2bd5811 hv: vpci_cleanup for VMs of type POST_LAUNCHED_VM
ACRN cleans up the IOMMU domain and other data structures that
represents the state of device assigment to POST_LAUNCHED_VM. This is
with the help of hypercalls from SOS DM. Under scenarios where DM
execution can get terminated abruptly or due to bugs in DM, hypercalls
responsible for cleaning up ACRN cannot happen. This leaves ACRN
device representation/resource assignment in an incorrect state.
This patch cleans up the IOMMU resource and other data structures
upon shutdown of POST_LAUNCHED_VM.

Tracked-On: #2700
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-04-29 17:04:02 +08:00
..
pci_pt.c hv:change register_mmio_emulation_handler to void 2019-04-19 09:02:15 +08:00
vdev.c HV: rename pci_priv.h to vpci_priv.h 2019-03-25 12:35:39 +08:00
vhostbridge.c HV: rename pci_priv.h to vpci_priv.h 2019-03-25 12:35:39 +08:00
vmsi.c hv: Remove separate interrupt routine for pre-launched VMs 2019-04-04 17:51:36 +08:00
vmsix.c hv: Remove separate interrupt routine for pre-launched VMs 2019-04-04 17:51:36 +08:00
vpci_priv.h hv: vpci_cleanup for VMs of type POST_LAUNCHED_VM 2019-04-29 17:04:02 +08:00
vpci.c hv: vpci_cleanup for VMs of type POST_LAUNCHED_VM 2019-04-29 17:04:02 +08:00