Tuesday, July 30, 2024

Qemu, virt-manager, and libvirt on macOS with Apple silicon M2

 1. install QEMU

brew install qemu
#OR
sudo port install qemu

2. Install libvirt and virt-manager

# Install libvirt
brew install libvirt
#OR
# Time to install virt-manager, you will need macports for this
sudo port install virt-manager

3. Start libvirt service.

# Now, Start libvirt services (to start the libvirt daemon)
brew services start libvirt
# And now start virt-manager
virt-manager -c "qemu:///session" --no-fork

Source