14.9. Shutting Down, Rebooting, and Forcing Shutdown of a Guest Virtual Machine

This section provides information about shutting down, rebooting, and forcing shutdown of a guest virtual machine.

14.9.1. Shutting Down a Guest Virtual Machine

Shut down a guest virtual machine using the virsh shutdown command:
# virsh shutdown {domain-id, domain-name or domain-uuid} [--mode method]
You can control the behavior of the rebooting guest virtual machine by modifying the on_shutdown parameter in the guest virtual machine's configuration file.