# Install QEMU with Mac M1 CPU 可以根據這篇文章來安裝 qemu https://gist.github.com/toricls/d3dd0bec7d4c6ddbcf2d25f211e8cd7b 但是可能會碰到以下 error ``` qemu-system-aarch64: invalid accelerator hvf ``` 如果用 qemu-system-aarch64 去驗證會發現 hvf 並沒有 enable ``` # hvf 應該要在下面的 list % qemu-system-aarch64 -accel help Accelerators supported in QEMU binary: tcg ``` 在這個 gist 中有人提到有人對 qemu 做 patch https://gist.github.com/toricls/d3dd0bec7d4c6ddbcf2d25f211e8cd7b#gistcomment-3886267 ``` brew install simnalamburt/x/qemu-hvf ``` 不過目前看來這個比較像是個人做的 patch ,安裝後也確實可以用 有疑慮的話可能還是看 qemu 怎麼處理. **Edited on 2021-Sep-18**
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up