Skip to content

Commit 1c31db9

Browse files
authored
Merge pull request #3356 from tuxillo/add-dragonflybsd
Add initial support for DragonFly BSD
2 parents de50c9a + 960c91d commit 1c31db9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pkg/limayaml/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ func ResolveArch(s *string) Arch {
12251225

12261226
func IsAccelOS() bool {
12271227
switch runtime.GOOS {
1228-
case "darwin", "linux", "netbsd", "windows":
1228+
case "darwin", "linux", "netbsd", "windows", "dragonfly":
12291229
// Accelerator
12301230
return true
12311231
}

pkg/qemu/qemu.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,8 @@ func Accel(arch limayaml.Arch) string {
11341134
return "kvm"
11351135
case "netbsd":
11361136
return "nvmm"
1137+
case "dragonfly":
1138+
return "nvmm"
11371139
case "windows":
11381140
return "whpx"
11391141
}

0 commit comments

Comments
 (0)