O'Reilly logo

KVM Virtualization Cookbook by Konstantin Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required