Whenever a VfioPciDevice is dropped, the regions previously mapped are being unmapped. But there's also a need for removing the region from a KVM perspective. This commit extends the existing unmap_mmio_regions() function to take care of removing the KVM region at the same time the regions are being unmapped. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||