mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-23 04:55:22 +00:00
34d1f435f4
In order to provide the tools for a complete cleanup whenever a VFIO PCI device is removed from the VM, the VfioPciDevice implements free_bars() method from PciDevice trait. This will take care of removing the IO and MMIO ranges previously reserved through the vm-allocator. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>