mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 21:15:45 +00:00
d0ae9d7ce6
We want to be able to share the same DeviceTree across multiple threads, particularly to handle the use case where PCI BAR reprogramming might need to update the tree while from another thread a new device is being added to the tree. That's why this patch moves the DeviceTree instance into an Arc<Mutex<>> so that we can later share a reference of the same mutable tree with the AddressManager responsible for handling PCI BAR reprogramming. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |