Skip to content

Commit 341ebb7

Browse files
committed
README.md: QEMU no longer needs to be signed manually
The latest homebrew package seems signed by default. ```console $ codesign -d --entitlements :- /usr/local/Cellar/qemu/6.0.0/bin/qemu-system-x86_64 Executable=/usr/local/Cellar/qemu/6.0.0/bin/qemu-system-x86_64 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.security.hypervisor</key> <true/> </dict> </plist> ``` Signed-off-by: Akihiro Suda <[email protected]>
1 parent ec32e68 commit 341ebb7

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,19 @@ For the usage of containerd and nerdctl (contaiNERD ctl), visit https://github.c
7575

7676
## Getting started
7777
### Requirements (Intel Mac)
78-
- QEMU (`brew install qemu`)
78+
- QEMU v6.0.0 or later (`brew install qemu`)
7979

80-
- Run the following commands to enable `--accel=hvf`:
80+
81+
<details>
82+
<summary>
83+
Signing the binary (not needed for recent version of QEMU and macOS, in most cases)
84+
</summary>
85+
86+
<p>
87+
88+
If you have installed QEMU v6.0.0 or later on macOS 11, your binary should have been already automatically signed to enable HVF acceleration.
89+
90+
However, if you see `HV_ERROR`, you might need to sign the binary manually.
8191

8292
```bash
8393
cat >entitlements.xml <<EOF
@@ -101,6 +111,8 @@ Note: **Only** on macOS versions **before** 10.15.7 you might need to add this e
101111
<true/>
102112
```
103113

114+
</p>
115+
</details>
104116

105117
### Requirements (ARM Mac)
106118

0 commit comments

Comments
 (0)