mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
For both virtio-mmio and virtio-pci transport layers, we were setting every field from the saved snapshot during a restore. This is a problem when we don't want to override specific fields such as iommu_mapping_cb because the saved snapshot doesn't contain the appropriate information. That's why this commit sets only the appropriate field from the saved snapshot during a restore. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>