@@ -275,16 +275,16 @@ func (d *Driver) Start() error {
275275 // when loading a VM created by a crc version predating this commit,
276276 // d.QemuGAVsockPort will be missing from ~/.crc/machines/crc/config.json
277277 // In such a case, assume the VM will not support time sync
278- if d .QemuGAVsockPort != 0 {
279- timesync , err := config .TimeSyncNew (d .QemuGAVsockPort )
280- if err != nil {
281- return err
282- }
283- err = vm .AddDevice (timesync )
284- if err != nil {
285- return err
286- }
287- }
278+ // if d.QemuGAVsockPort != 0 {
279+ // timesync, err := config.TimeSyncNew(d.QemuGAVsockPort)
280+ // if err != nil {
281+ // return err
282+ // }
283+ // err = vm.AddDevice(timesync)
284+ // if err != nil {
285+ // return err
286+ // }
287+ // }
288288
289289 args , err := vm .ToCmdLine ()
290290 if err != nil {
@@ -443,15 +443,15 @@ func (d *Driver) findVfkitProcess() (*process.Process, error) {
443443 return nil , nil
444444 }
445445
446- name , err := p .Name ()
447- if err != nil {
448- return nil , err
449- }
450- if ! strings .HasPrefix (name , "vfkit" ) {
451- // return InvalidExecutable error?
452- log .Debugf ("pid %d is stale, and is being used by %s" , pid , name )
453- return nil , nil
454- }
446+ // name, err := p.Name()
447+ // if err != nil {
448+ // return nil, err
449+ // }
450+ // if !strings.HasPrefix(name, "vfkit") {
451+ // // return InvalidExecutable error?
452+ // log.Debugf("pid %d is stale, and is being used by %s", pid, name)
453+ // return nil, nil
454+ // }
455455
456456 return p , nil
457457}
0 commit comments