Note: This is an RHCSA 7 exam objective.

To launch a virtual machine called vm.example.com at boot, type the following command:

# virsh autostart vm.example.com

To disable this same launch at boot, type:

# virsh autostart vm.example.com --disable

To get the list of all the virtual machines, type:

# virsh list --all