cloud-hypervisor/vmm
Rob Bradford e1c09b66ba vmm: Replace device tree value when restoring DeviceManager
When restoring replace the internal value of the device tree rather than
replacing the Arc<Mutex<DeviceTree>> itself. This is fixes an issue
where the AddressManager has a copy of the the original
Arc<Mutex<DeviceTree>> from when the DeviceManager was created. The
original restore path only replaced the DeviceManager's version of the
Arc<Mutex<DeviceTree>>. Instead replace the contents of the
Arc<Mutex<DeviceTree>> so all users see the updated version.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2021-12-06 15:58:37 +00:00
..
src vmm: Replace device tree value when restoring DeviceManager 2021-12-06 15:58:37 +00:00
Cargo.toml build: bump clap from 2.33.3 to 2.34.0 2021-12-01 01:50:01 +00:00