Using Python to Build and Manage KVM Instances

In this chapter, we are going to cover the following topics:

  • Installing and using the Python libvirt library
  • Defining KVM instances with Python
  • Starting, stopping, and deleting KVM instances with Python
  • Inspecting KVM instances with Python
  • Building a simple REST API server with libvirt and bottle

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.