From the course: Ubuntu Linux: Virtualization

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create a virtual machine with libvirt tools

Create a virtual machine with libvirt tools

From the course: Ubuntu Linux: Virtualization

Start my 1-month free trial

Create a virtual machine with libvirt tools

- [Man] Libvirt is a package of tools and an API that supports many different hypervisors, including KVM, Xen, and others. It gives us a way of interacting with these different platforms in a standardized way. The Libvirt package of tools give us virsh, the Libvirt command shell, which allows us to keep track of and modify virtual machines and resources. It also gives us some other tools that we'll use to make setting up virtual machines easier for install, which we'll use here, and virt-manager, which we'll see in a little bit. Using virsh and, by extension, Libvirt, we can work with the virtual machines that are described by XML files called the Domain XML. And these files contain the settings and options that we'd otherwise need to specify at the command line. So keeping the information all together already makes works with VMs this way a lot easier. What's also helpful, is that the Libvirt daemon keeps track of running machines. So guests, or domains, as they're called here…

Contents