Skip to content

Commit 61cf141

Browse files
committed
Revert virtserialport back to unix socket for QEMU guest agent communication
The serial port sometimes doesn't seem to work: #2064 Signed-off-by: Jan Dubois <[email protected]>
1 parent f3dc6ed commit 61cf141

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/hostagent/hostagent.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ func New(instName string, stdout io.Writer, sigintCh chan os.Signal, opts ...Opt
128128
}
129129
vSockPort = port
130130
} else if *y.VMType == limayaml.QEMU {
131-
virtioPort = filenames.VirtioPort
131+
// virtserialport doesn't seem to work reliably: https://github.com/lima-vm/lima/issues/2064
132+
virtioPort = "" // filenames.VirtioPort
132133
}
133134

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

0 commit comments

Comments
 (0)