acrn-hypervisor/hypervisor/include/dm
Li Fei1 f9d26a80ed hv: vpci: refine vpci deinit
The existing code do separately for each VM when we deinit vpci of a VM. This is
not necessary. This patch use the common handling for all VMs: we first deassign
it from the (current) user, then give it back to its parent user.

When we deassign the vdev from the (current) user, we would de-initialize the
vMSI/VMSI-X remapping, so does the vMSI/vMSI-X data structure.

Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong<eddie.dong@Intel.com>
2020-05-13 14:31:01 +08:00
..
io_req.h hv: mmio: refine mmio access handle lock granularity 2020-02-24 16:17:38 +08:00
vacpi.h hv: vacpi: add ioapic madt table 2020-04-22 08:42:19 +08:00
vioapic.h hv: vioapic: minor refine about vioapic_init 2020-04-24 15:35:38 +08:00
vpci.h hv: vpci: refine vpci deinit 2020-05-13 14:31:01 +08:00
vpic.h hv: vpic: remove vm structure pointer from vpic 2020-03-31 10:57:47 +08:00
vuart.h hv: Introduce Global System Interrupt (GSI) into INTx Remapping 2020-03-25 09:36:18 +08:00