Linux Format

Into the libvirt

You might gather by now that QEMU incantations can get quite unwieldy once you start avoiding defaults – so it’s common for people to store these in a script, or use some kind of frontend for QEMU. The modern way to wrangle this is with Red Hat’s Libvirt. This isn’t a frontend – we’ll meet Virtual Machine Manager soon, which is – but rather an API that provides access to virtualisation functions through its daemon, libvirtd. Libvirt supports a number of hypervisors, including KVM and VirtualBox.

This might seem, to the layman, like adding another layer of complication on top of something that’s complicated enough. That’s a reasonable point; if you just want to set up a VM to try the occasional Linux distro, it’s easy to or any other friendly frontend. Where Libvirt comes into its own is with management. It can take care of storage (resize virtual disks or create pools), networking (no messing around with handcrafting network bridges) and, naturally, can create, start and stop VMs. To some extent it also abstracts the user out of the business of running the VMs, and this is generally good.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format2 min read
OBS Studio
Version: 30.0.2 Web: https://obsproject.com There are lots of good options for recording screencasts, but if you want to live-stream T your desktop, one of the best options is OBS Studio. The app works with all the major online streaming providers, s
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l
Linux Format2 min read
Back Issues Missed One?
ISSUE 313 April 2024 Product code: LXFDB0313 In the magazine Discover how to use the ultimate hacker’s toolkit, staying out of trouble while doing so. And join us as we take the Puppy Linux developer’s new distro for a run and explore its container

Related Books & Audiobooks