mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vm-migration: Rename SnapshotDataSection into SnapshotData
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -95,7 +95,7 @@ use vm_memory::{Address, GuestAddress, GuestUsize, MmapRegion};
|
||||
use vm_memory::{GuestAddressSpace, GuestMemory};
|
||||
use vm_migration::{
|
||||
protocol::MemoryRangeTable, snapshot_from_id, versioned_state_from_id, Migratable,
|
||||
MigratableError, Pausable, Snapshot, SnapshotDataSection, Snapshottable, Transportable,
|
||||
MigratableError, Pausable, Snapshot, SnapshotData, Snapshottable, Transportable,
|
||||
};
|
||||
use vm_virtio::AccessPlatform;
|
||||
use vm_virtio::VirtioDeviceType;
|
||||
@@ -4456,7 +4456,7 @@ impl Snapshottable for DeviceManager {
|
||||
}
|
||||
|
||||
// Then we store the DeviceManager state.
|
||||
snapshot.add_data_section(SnapshotDataSection::new_from_state(&self.state())?);
|
||||
snapshot.add_data_section(SnapshotData::new_from_state(&self.state())?);
|
||||
|
||||
Ok(snapshot)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user