mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 19:32:20 +00:00
By returning the new PCI resources from add_pci_device(), we allow the factorization of the code translating the BARs into resources. This allows VIRTIO, VFIO and vfio-user to add the resources to the DeviceTree node. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>