You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: avoid needless clone in build_microvm_from_snapshot
There is no need to clone the GuestMemoryMmap here, as
create_vmm_and_vcpus returns it again (as part of the Vmm object), and
since later code in build_microvm_from_snapshot doesn't need to take
ownership of the GuestMemoryMmap, we can just use references to this
stored object, avoiding the clone.
Signed-off-by: Patrick Roy <[email protected]>
0 commit comments