libvirt doesn't work with apple silicon
Software environment
- Operating system: macOS 11.3.1
- Architecture: arm64
- kernel version: 20.4.0
- libvirt version: 7.3.0
- Hypervisor and version: QEMU with HVF accel, 6.0.0 formula
Description of problem
error: internal error: undefined hardware architecture
In the logs, the host arch is none
and not native. I also tried host-passthrough, host-model, and cortex-a72. I was able to create an ubuntu vm using QEMU just fine. libvirt is also unable to find qemu firmware paths, but I think that's for a separate issue.
Steps to reproduce
- Any QEMU with HVF accel
- Install libvirt with homebrew
- Setup domain xml
virsh create ubuntu.xml