mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-23 21:15:28 +00:00
bbda08717f
This will allow progressive porting of parts of the VMM to using versioned state. A new trait VersionMapped is introduced with a default implementation that returns an empty VersionMap to ease implementation. If a struct is updated the the trait will need to be fully implemented with VersionMapped::version_map() returning a new VersionMap handling the change. Signed-off-by: Rob Bradford <robert.bradford@intel.com>