thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Systems & Data Center · Intermediate

virsh

The libvirt command-line tool for managing KVM virtual machines, networks and storage pools.

Definition

Common subcommands include list --all, start, shutdown, destroy (forced power-off), autostart, dumpxml, edit and snapshot-create-as.

Example

virsh autostart web1 makes the VM start when the host boots.

Exam tip

virsh destroy is a hard power-off, not deletion; undefine removes the VM definition.

Related terms