mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 20:45:21 +00:00
991f3bb5da
This commit implements the eject function so that a VFIO device will be removed from any bus it might sit on, and from any list it might be stored in. The idea is to reach a point where there is no reference of the device anywhere in the code, so that the Drop implementation will be invoked and so that the device will be fully removed from the VMM. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>