-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
limactl start template://docker
no longer boots (virtio-serial seems intermittently breaking virtio-net-pci)
#1689
Comments
Can anybody repro this? |
limactl start template://docker
no longer boots due to a DNS issuelimactl start template://docker
no longer boots due to a DNS issue
The issue doesn't seem to happen with |
limactl start template://docker
no longer boots due to a DNS issuelimactl start template://docker
no longer boots due to a DNS (?) issue
|
Seems a regression in |
limactl start template://docker
no longer boots due to a DNS (?) issuelimactl start template://docker
no longer boots (virtio-serial seems intermittently breaking virtio-net-pci)
This seems to work, but not sure why diff --git a/pkg/qemu/qemu.go b/pkg/qemu/qemu.go
index a120b6e..813a93d 100644
--- a/pkg/qemu/qemu.go
+++ b/pkg/qemu/qemu.go
@@ -830,7 +830,7 @@ func Cmdline(cfg Config) (string, []string, error) {
}
const serialvChardev = "char-serial-virtio"
args = append(args, "-chardev", fmt.Sprintf("socket,id=%s,path=%s,server=on,wait=off,logfile=%s", serialvChardev, serialvSock, serialvLog))
- args = append(args, "-device", "virtio-serial-pci,id=virtio-serial0")
+ args = append(args, "-device", "virtio-serial-pci,id=virtio-serial0,max_ports=2")
args = append(args, "-device", fmt.Sprintf("virtconsole,chardev=%s,id=console0", serialvChardev))
// We also want to enable vsock here, but QEMU does not support vsock for macOS hosts Possibly relevant:
|
/var/log/cloud-init-output.log
in the guest:The text was updated successfully, but these errors were encountered: