Using libvirt to Manage KVM

In this chapter, we will cover the following topics:

  • Installing and configuring libvirt
  • Defining KVM instances
  • Starting, stopping, and removing KVM instances
  • Inspecting and editing KVM configs
  • Building new KVM instances with virt-install and using the console
  • Managing CPU and memory resources in KVM
  • Attaching block devices to virtual machines
  • Sharing directories between a running VM and the host OS
  • Autostarting KVM instances
  • Working with storage pools
  • Managing volumes
  • Managing secrets

Get KVM Virtualization Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.