acrn-hypervisor/hypervisor/dm
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
..
vpci hv: vpci_cleanup for VMs of type POST_LAUNCHED_VM 2019-04-29 17:04:02 +08:00
io_req.c hv: Rename NORMAL_VM to POST_LAUNCHED_VM 2019-04-29 09:19:51 +08:00
vioapic.c hv:change register_mmio_emulation_handler to void 2019-04-19 09:02:15 +08:00
vmptable.c hv: Build mptable for guest if VM type is Pre-Launched 2019-04-15 15:51:02 +08:00
vpic.c hv: remove the unnecessary equality operation 2019-04-02 18:18:59 +08:00
vrtc.c HV: HV: make io_read_fn_t return true or false 2019-03-29 16:17:44 +08:00
vuart.c HV: vuart: support MSR and MCR 2019-04-29 15:25:39 +08:00