Skip to content

Commit

Permalink
config(apple): fixed nested virtualization not being set
Browse files Browse the repository at this point in the history
Fixes #6789
  • Loading branch information
osy committed Nov 12, 2024
1 parent ed99b74 commit f99b4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Platform/Shared/VMWizardState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,14 @@ enum VMBootDevice: Int, Identifiable {
bootloader.linuxInitialRamdiskURL = linuxInitialRamdiskURL
bootloader.linuxCommandLine = linuxBootArguments
config.system.boot = bootloader
config.system.genericPlatform = UTMAppleConfigurationGenericPlatform()
if let linuxRootImageURL = linuxRootImageURL {
config.drives.append(UTMAppleConfigurationDrive(existingURL: linuxRootImageURL))
isSkipDiskCreate = true
}
} else {
config.system.boot = try UTMAppleConfigurationBoot(for: .linux)
}
config.system.genericPlatform = UTMAppleConfigurationGenericPlatform()
config.virtualization.hasRosetta = linuxHasRosetta
#endif
case .Windows:
Expand Down

0 comments on commit f99b4f4

Please sign in to comment.