Skip to content

Commit

Permalink
vz: ignore firmware.legacyBIOS
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Jul 24, 2024
1 parent 3aaef50 commit 57eb3a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ rosetta:
timezone: null

firmware:
# Use legacy BIOS instead of UEFI. Ignored for aarch64.
# Use legacy BIOS instead of UEFI. Ignored for aarch64 and vz.
# 🟢 Builtin default: false
legacyBIOS: null
# # Override UEFI images
Expand Down
2 changes: 1 addition & 1 deletion pkg/vz/vz_driver_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (l *LimaVzDriver) Validate() error {
return fmt.Errorf("field `mountType` must be %q or %q for VZ driver , got %q", limayaml.REVSSHFS, limayaml.VIRTIOFS, *l.Yaml.MountType)
}
if *l.Yaml.Firmware.LegacyBIOS {
return fmt.Errorf("`firmware.legacyBIOS` configuration is not supported for VZ driver")
logrus.Warnf("vmType %s: ignoring `firmware.legacyBIOS`", *l.Yaml.VMType)
}
for _, f := range l.Yaml.Firmware.Images {
switch f.VMType {
Expand Down

0 comments on commit 57eb3a6

Please sign in to comment.