vmm: Include device tree in vm.info API

The DeviceNode cannot be fully represented as it embeds a Rust style
enum (i.e. with data) which is instead represented by a simple
associative array.

Fixes: #1167

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-11-30 09:06:13 +00:00
committed by Samuel Ortiz
parent 15f0451c34
commit 280d4fb245
5 changed files with 36 additions and 0 deletions
+4
View File
@@ -3134,6 +3134,10 @@ impl DeviceManager {
0
}
pub fn device_tree(&self) -> Arc<Mutex<DeviceTree>> {
self.device_tree.clone()
}
}
#[cfg(feature = "acpi")]