Skip to content

Commit

Permalink
Revert virtserialport back to unix socket for QEMU guest agent commun…
Browse files Browse the repository at this point in the history
…ication

The serial port sometimes doesn't seem to work: lima-vm#2064

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
(cherry picked from commit a8ef354)
  • Loading branch information
jandubois committed Jan 3, 2024
1 parent 09f95f4 commit 095e0a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/hostagent/hostagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ func New(instName string, stdout io.Writer, sigintCh chan os.Signal, opts ...Opt
}
vSockPort = port
} else if *y.VMType == limayaml.QEMU {
virtioPort = filenames.VirtioPort
// virtserialport doesn't seem to work reliably: https://github.com/lima-vm/lima/issues/2064
// virtioPort = filenames.VirtioPort
}

if err := cidata.GenerateISO9660(inst.Dir, instName, y, udpDNSLocalPort, tcpDNSLocalPort, o.nerdctlArchive, vSockPort, virtioPort); err != nil {
Expand Down

0 comments on commit 095e0a4

Please sign in to comment.