devices, vmm: Move Pl011 to new restore design

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2022-11-25 17:07:46 +01:00
committed by Rob Bradford
parent 0bd910e8b0
commit 9fbf52b998
2 changed files with 74 additions and 38 deletions

View File

@@ -1773,6 +1773,8 @@ impl DeviceManager {
interrupt_group,
serial_writer,
self.timestamp,
versioned_state_from_id(self.snapshot.as_ref(), id.as_str())
.map_err(DeviceManagerError::RestoreGetState)?,
)));
self.bus_devices