Skip to content

Commit 11c9cbd

Browse files
committed
Clean up formatting
Signed-off-by: char-1ee <[email protected]>
1 parent 7c815fb commit 11c9cbd

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

ctriface/iface.go

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ type StartVMResponse struct {
6464

6565
const (
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

Comments
 (0)