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
From the course: Ubuntu Linux: Virtualization
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
-
-
-
Create a virtual machine with QEMU and KVM11m 25s
-
(Locked)
Modify a QEMU + KVM virtual machine2m 26s
-
(Locked)
Create a virtual machine with libvirt tools5m 15s
-
(Locked)
Control a virtual machine with virsh5m 20s
-
(Locked)
Create a virtual machine with Virtual Machine Manager6m 55s
-
(Locked)
Modify virtual machine memory6m 14s
-
(Locked)
Modify virtual machine storage4m 47s
-
(Locked)
Clone and snapshot a virtual machine4m 21s
-
(Locked)
Autostart virtual machines1m 43s
-
-
-