mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-13 07:55:20 +00:00
fbcf3a7a7a
When hot-unplugging the virtio-pmem from the VM, we don't remove the associated userspace mapping. This patch will let us fix this in a following patch. For now, it simply adapts the code so that the Pmem device knows about the mapping associated with it. By knowing about it, it can expose it to the caller through the new userspace_mappings() function. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>