acrn-hypervisor/hypervisor/common
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
..
hv_main.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
hypercall.c hv: vpci_cleanup for VMs of type POST_LAUNCHED_VM 2019-04-29 17:04:02 +08:00
ptdev.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
schedule.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
softirq.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
stack_protector.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
static_checks.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
trusty_hypercall.c HV: cleanup header files under hypervisor/common 2019-02-28 14:59:22 +08:00
vm_load.c hv: separate host e820 and SOS ve820 2019-04-26 16:20:50 +08:00