Skip to content

Commit 3f5dcb7

Browse files
committed
README.md: update ARM installation steps
`brew install simnalamburt/x/qemu-hvf` Thanks to zchee for letting me know. Signed-off-by: Akihiro Suda <[email protected]>
1 parent 30cb59c commit 3f5dcb7

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,29 @@ $ brew install lima
8686
<summary>Manual installation steps (required for ARM Mac)</summary>
8787
<p>
8888

89-
- Install recent version of QEMU. v6.0.0 or later is recommended.
89+
#### Install QEMU
9090

91-
- On ARM hosts, QEMU has to be patched for enabling `--accel=hvf` support. See https://gist.github.com/nrjdalal/e70249bb5d2e9d844cc203fd11f74c55
91+
Install recent version of QEMU. v6.1.0 or later is recommended.
92+
93+
On ARM hosts, a [patched](http://patchwork.ozlabs.org/project/qemu-devel/list/?series=244786) version of QEMU has to be installed
94+
for enabling `-accel hvf` support:
95+
```console
96+
$ brew install simnalamburt/x/qemu-hvf
97+
```
98+
99+
Make sure that the result of `qemu-system-aarch64 -accel help` contains "hvf":
100+
```console
101+
$ qemu-system-aarch64 -accel help
102+
Accelerators supported in QEMU binary:
103+
tcg
104+
hvf
105+
```
106+
107+
See https://github.com/simnalamburt/homebrew-x for the further information of the `simnalamburt/x/qemu-hvf` tap.
108+
109+
<!-- There is also another tap [`knazarov/qemu-virgl/qemu-virgl`](https://github.com/knazarov/homebrew-qemu-virgl), but slightly older. -->
110+
111+
#### Install Lima
92112

93113
- Download the binary archive of Lima from https://github.com/lima-vm/lima/releases ,
94114
and extract it under `/usr/local` (or somewhere else).

0 commit comments

Comments
 (0)