mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
37521ddff7
In case a list of resources is provided to allocate_bars(), it directly means we're restoring some existing BARs. That's why we shouldn't share the codepath that creates BARs from scratch as we don't need to interact with the device to retrieve the information. Whenever resources are provided, we simply iterate over the list of possible BAR indexes and create the BARs if the resource could be found. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |