Chapter 5. Virtualization Tools

This chapter provides an introduction to the basic tools available to interact with virtualization on Red Hat Enterprise Linux 7.

5.1. virsh

virsh is a command-line interface (CLI) tool for managing the hypervisor and guest virtual machines, and works as the primary means of controlling virtualization on Red Hat Enterprise Linux 7. Its capabilities include creating, configuring, pausing, listing, and shutting down virtual machines, as well as managing virtual networks, or loading virtual machine disk images. As such, it is ideal for creating virtualization administration scripts. Users without root privileges can use the virsh command as well, but in read-only mode. virsh is installed as part of the libvirt-client package.

Note

For more information about managing virtual machines with virsh, refer to the Red Hat Enterprise Linux 7 Virtualization Deployment and Administration Guide.