@@ -64,8 +64,8 @@ type StartVMResponse struct {
6464
6565const (
6666 testImageName = "ghcr.io/ease-lab/helloworld:var_workload"
67- fileBackend = "File"
68- uffdBackend = "Uffd"
67+ fileBackend = "File"
68+ uffdBackend = "Uffd"
6969)
7070
7171// StartVM Boots a VM if it does not exist
@@ -208,14 +208,13 @@ func (o *Orchestrator) StartVMWithEnvironment(ctx context.Context, vmID, imageNa
208208 logger .Debug ("Registering VM with the memory manager" )
209209
210210 stateCfg := manager.SnapshotStateCfg {
211- VMID : vmID ,
212- GuestMemPath : o .getMemoryFile (vmID ),
213- BaseDir : o .getVMBaseDir (vmID ),
214- GuestMemSize : int (conf .MachineCfg .MemSizeMib ) * 1024 * 1024 ,
215- IsLazyMode : o .isLazyMode ,
216- VMMStatePath : o .getSnapshotFile (vmID ),
217- WorkingSetPath : o .getWorkingSetFile (vmID ),
218- // FIXME (gh-807)
211+ VMID : vmID ,
212+ GuestMemPath : o .getMemoryFile (vmID ),
213+ BaseDir : o .getVMBaseDir (vmID ),
214+ GuestMemSize : int (conf .MachineCfg .MemSizeMib ) * 1024 * 1024 ,
215+ IsLazyMode : o .isLazyMode ,
216+ VMMStatePath : o .getSnapshotFile (vmID ),
217+ WorkingSetPath : o .getWorkingSetFile (vmID ),
219218 InstanceSockAddr : resp .GetSocketPath (),
220219 }
221220 if err := o .memoryManager .RegisterVM (stateCfg ); err != nil {
0 commit comments