cloud-hypervisor/vmm
Sebastien Boeuf d0ae9d7ce6 vmm: Share the DeviceTree across threads
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>
2020-05-12 17:37:31 +01:00
..
src vmm: Share the DeviceTree across threads 2020-05-12 17:37:31 +01:00
Cargo.toml arch, vmm: Don't build mptable when using ACPI 2020-05-11 19:34:34 +01:00