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
refactor: hoist up hugepages/file-based restore incompatibility check
Move this check out of the memory allocation code and up into the
snapshot restoration code. This allows us to encode the impossibility of
mmap-ing a snapshot file with hugepages at the type level (by simply not
giving an option to pass a `HugePageConfig` to `GuestMemoryMmap::create`
if `MemoryKind::Snapshot(_)` is passed).
Signed-off-by: Patrick Roy <[email protected]>
0 commit comments