Skip to content

Commit 7c520fa

Browse files
authored
Merge pull request #704 from AkihiroSuda/remove-outdated-hint
aarch64: remove outdated hint
2 parents 7b5cb77 + 6f94102 commit 7c520fa

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pkg/qemu/qemu.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,7 @@ func Cmdline(cfg Config) (string, []string, error) {
199199
// Architecture
200200
accel := getAccel(*y.Arch)
201201
if !strings.Contains(string(features.AccelHelp), accel) {
202-
errStr := fmt.Sprintf("accelerator %q is not supported by %s", accel, exe)
203-
if accel == "hvf" && *y.Arch == limayaml.AARCH64 {
204-
errStr += " ( Hint: as of August 2021, qemu-system-aarch64 on ARM Mac needs to be patched for enabling hvf accelerator,"
205-
errStr += " see https://gist.github.com/nrjdalal/e70249bb5d2e9d844cc203fd11f74c55 )"
206-
}
207-
return "", nil, errors.New(errStr)
202+
return "", nil, fmt.Errorf("accelerator %q is not supported by %s", accel, exe)
208203
}
209204

210205
cpu := y.CPUType[*y.Arch]

0 commit comments

Comments
 (0)