LibVirt Management from MacOS

Aug 23, 2021

Author: Brandon B. Jozsa

This will be a really quick post about how you can leverage virt-manager and virt-viewer from MacOS to manage libvirt virtual machines running on Red Hat systems.

In all honesty, this blog doesn't even really need to exist because it's really straight forward. But I am writing a whole series on how users can deploy and manage libvirt systems more easily with Redfish, and this tooling came to mind as a GUI alternative.

Installation

You can install both virt-manager and virt-viewer like this:
(Note: you must have homebrew installed first)

brew tap jeffreywildman/homebrew-virt-manager
brew install virt-manager virt-viewer

Usage

Once installed, you can run the following to leverage a qemu host over SSH.

virt-manager -c 'qemu+ssh://username@192.168.1.25/system?socket =/var/run/libvirt/libvirt-sock'

Replace username and 192.168.1.25 with your own values. That's it!

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.