devices, vmm: Move Serial to new restore design

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2022-11-25 16:44:42 +01:00
committed by Rob Bradford
parent ef92e55998
commit 0bd910e8b0
3 changed files with 64 additions and 30 deletions

View File

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