mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-13 07:55:20 +00:00
c22fd39170
When a virtio device is dynamically removed from the VM through the hot-unplug mechanism, every mapping associated with it must be properly removed. Based on the previous patches letting a VirtioDevice expose the list of userspace mappings associated with it, this patch can now remove all the KVM userspace memory regions through the MemoryManager. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>