Skip to content

Conversation

@norio-nomura
Copy link
Contributor

The driver doesn’t process the .Base[] field, but it shouldn’t print spammy warnings like the following:

$ limactl prune --keep-referred
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] failed to resolve vm for "_images/debian-11": failed to find the QEMU binary for the architecture "aarch64": exec: "qemu-system-aarch64": executable file not found in $PATH
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
...

The driver doesn’t process the `.Base[]` field, but it shouldn’t print spammy warnings like the following:
```console
$ limactl prune --keep-referred
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] failed to resolve vm for "_images/debian-11": failed to find the QEMU binary for the architecture "aarch64": exec: "qemu-system-aarch64": executable file not found in $PATH
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
WARN[0000] vmType vz: ignoring [Base]
...
```

Signed-off-by: Norio Nomura <norio.nomura@gmail.com>
Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is wrong. We should not process any templates in Lima that have not gone through full template embedding. I've created #4018 as an alternative, which I believe is the correct fix.

Even with that fix I get a bunch of noise:

limactl prune --keep-referred
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] vmType vz: ignoring `firmware.legacyBIOS`
WARN[0000] failed to resolve vm for "experimental/wsl2": vmType "wsl2" is not a registered driver
WARN[0001] vmType vz: ignoring `firmware.legacyBIOS`

@norio-nomura norio-nomura deleted the vz-add-base-to-known-yaml-properties branch September 10, 2025 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants