Skip to content

Homebrew formulaes to install `virt-manager`, `virt-viewer` and `libvirtd` on macOS with Apple Silicon

Notifications You must be signed in to change notification settings

Menci/homebrew-libvirt-m1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libvirt on M1

This repo helps you to install and run libvirt and virt-manager natively on macOS on Apple Silicon Macs.

# Add my repo to Homebrew
brew tap Menci/libvirt-m1

# Remove any old version installed
brew uninstall --force --ignore-dependencies libvirt virt-{manager,viewer} gtk-vnc

# Install my patched version of the packages
brew install --build-from-source Menci/libvirt-m1/virt-manager \
             --build-from-source Menci/libvirt-m1/virt-viewer \
             --build-from-source Menci/libvirt-m1/gtk-vnc
brew install --head Menci/libvirt-m1/libvirt # Skip this if you don't need to run VMs locally

# Install QEMU (skip if already installed)
brew install qemu

# Disable QEMU security features in libvirtd's config
echo 'security_driver = "none"' >> /opt/homebrew/etc/libvirt/qemu.conf
echo "dynamic_ownership = 0" >> /opt/homebrew/etc/libvirt/qemu.conf
echo "remember_owner = 0" >> /opt/homebrew/etc/libvirt/qemu.conf

# Start libvirtd
brew services start libvirt

# Start virt-manager
virt-manager --debug --no-fork

References

About

Homebrew formulaes to install `virt-manager`, `virt-viewer` and `libvirtd` on macOS with Apple Silicon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages