Skip to content

Commit

Permalink
core: revert to using qemu by default on M3 macs (#1058)
Browse files Browse the repository at this point in the history
This removes the special case logic for M3 macs that use the vz driver instead of qemu. A lot of people are having trouble with vz on M3 macs:

- #987 (comment)
- #1045 (comment)
- #985 (comment)
- #985 (comment)
- #985 (comment)
  • Loading branch information
bradleyayers authored Jul 4, 2024
1 parent 692264f commit aeab61c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,6 @@ func mountsFromFlag(mounts []string) []config.Mount {
func setDefaults(cmd *cobra.Command) {
if startCmdArgs.VMType == "" {
startCmdArgs.VMType = defaultVMType

// m3 devices cannot use qemu
if util.M3() {
startCmdArgs.VMType = "vz"
cmd.Flag("vm-type").Changed = true
}
}

if util.MacOS13OrNewer() {
Expand Down Expand Up @@ -281,10 +275,6 @@ func setConfigDefaults(conf *config.Config) {
if conf.VMType == "" {
conf.VMType = defaultVMType
}
// m3 devices cannot use qemu
if util.M3() {
conf.VMType = "vz"
}

if conf.MountType == "" {
conf.MountType = defaultMountTypeQEMU
Expand Down

0 comments on commit aeab61c

Please sign in to comment.