-
Notifications
You must be signed in to change notification settings - Fork 718
Closed
Labels
Description
Description
macOS version: 13.0.1
Template: default vz.yml
I'm trying out VZ support and my ha.stderr.log log looks like this:
{"level":"debug","msg":"Creating iso file /Users/me/.lima/example-com/cidata.iso","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"Using /var/folders/s8/0tthc8jj04zd_4xzr8hwl1y40000gn/T/diskfs_iso734331136 as workspace","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"OpenSSH version 9.0.1 detected","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"AES accelerator seems available, prioritizing [email protected] and [email protected]","time":"2022-11-19T15:13:35-05:00"}
{"level":"info","msg":"Starting VZ (hint: to watch the boot progress, see \"/Users/me/.lima/example-com/serial.log\")","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"Start udp server listening on: 127.0.0.1:57460","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"Start tcp server listening on: 127.0.0.1:58956","time":"2022-11-19T15:13:35-05:00"}
{"level":"fatal","msg":"unsupported build target macOS version for 13.0","time":"2022-11-19T15:13:35-05:00"}
Looks like vz is returning that error here:
https://github.com/Code-Hex/vz/blob/9de1c1041d5e560f46f9f94fc499a1cc72fd92e5/osversion.go#L108
Lima only handles the other kind of OS error:
lima/pkg/vz/vz_driver_darwin.go
Line 52 in cd504a4
| if errors.Is(err, vz.ErrUnsupportedOSVersion) { |
Which means the error from vz is being logged directly without any additional context. I'm assuming there's some API that's not supported/available but I have no idea which (or why).