Skip to content

Commit 489280e

Browse files
authored
Merge pull request #264 from AkihiroSuda/arm-patch-merged-into-homebrew
README.md: QEMU no longer needs to be patched for ARM
2 parents ae5f8a4 + a1c79a6 commit 489280e

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

README.md

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -85,37 +85,23 @@ For the usage of containerd and nerdctl (contaiNERD ctl), visit https://github.c
8585
## Getting started
8686
### Installation
8787

88-
[Homebrew package](https://github.com/Homebrew/homebrew-core/blob/master/Formula/lima.rb) is available for Intel Mac.
88+
[Homebrew package](https://github.com/Homebrew/homebrew-core/blob/master/Formula/lima.rb) is available.
8989

9090
```console
9191
$ brew install lima
9292
```
9393

9494
<details>
95-
<summary>Manual installation steps (required for ARM Mac)</summary>
95+
<summary>Manual installation steps</summary>
9696
<p>
9797

9898
#### Install QEMU
9999

100100
Install recent version of QEMU. v6.1.0 or later is recommended.
101101

102-
On ARM hosts, a [patched](http://patchwork.ozlabs.org/project/qemu-devel/list/?series=244786) version of QEMU has to be installed
103-
for enabling `-accel hvf` support:
104-
```console
105-
$ brew install simnalamburt/x/qemu-hvf
106-
```
107-
108-
Make sure that the result of `qemu-system-aarch64 -accel help` contains "hvf":
109-
```console
110-
$ qemu-system-aarch64 -accel help
111-
Accelerators supported in QEMU binary:
112-
tcg
113-
hvf
114-
```
115-
116-
See https://github.com/simnalamburt/homebrew-x for the further information of the `simnalamburt/x/qemu-hvf` tap.
102+
On ARM hosts, a [patched](https://patchwork.kernel.org/series/548227/mbox/) version of QEMU has to be installed for enabling `-accel hvf` support.
117103

118-
<!-- There is also another tap [`knazarov/qemu-virgl/qemu-virgl`](https://github.com/knazarov/homebrew-qemu-virgl), but slightly older. -->
104+
The patch is not merged into the QEMU upstream yet as of QEMU v6.1.0, but already included in [the Homebrew package of QEMU](https://github.com/Homebrew/homebrew-core/commit/5e8eb547) since `6.1.0_1` bottle.
119105

120106
#### Install Lima
121107

@@ -131,7 +117,7 @@ curl -fsSL https://github.com/lima-vm/lima/releases/download/${VERSION}/lima-${V
131117
- To install Lima from the source, run `make && make install`.
132118

133119
> **NOTE**
134-
> Lima is not regularly tested on ARM Mac.
120+
> Lima is not regularly tested on ARM Mac (due to lack of CI).
135121
136122
</p>
137123
</details>
@@ -249,7 +235,7 @@ You have to use `limactl shell bash` (or `lima bash`) to open a shell.
249235
Alternatively, you may also directly ssh into the guest: `ssh -p 60022 -i ~/.lima/_config/user -o NoHostAuthenticationForLocalhost=yes 127.0.0.1`.
250236

251237
#### "Does Lima work on ARM Mac?"
252-
Yes, it should work, but not regularly tested on ARM.
238+
Yes, it should work, but not regularly tested on ARM (due to lack of CI).
253239

254240
#### "Can I run non-Ubuntu guests?"
255241
Debian, Fedora, Alpine, Arch Linux, and openSUSE are also known to work.

0 commit comments

Comments
 (0)