()
| 100 | } |
| 101 | |
| 102 | func (fcr *Runtime) createVMCS() *VMControlStructure { |
| 103 | return &VMControlStructure{ |
| 104 | Context: context.Background(), |
| 105 | |
| 106 | KernelPath: fcr.KernelPath, |
| 107 | FileSystemPath: fcr.FileSystemPath, |
| 108 | |
| 109 | SandboxID: fmt.Sprintf("firecracker-%d", fcr.idGenerator.Int()), |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | func createMetadata(in *proto.ServiceInfo, vmcs *VMControlStructure) *managers.Metadata { |
| 114 | return &managers.Metadata{ |