Specifications

virsh suspend [domain-id | domain-name |domain-uuid]
When a domain is in a suspended state, it still consumes system RAM. There will also be no
disk or network I/O when suspended. This operation is immediate and the virtual machine must
be restarted with the resume option .
5. Resuming a Virtual Machine
You can use virsh to restore a suspended virtual machine:
virsh resume [domain-id | domain-name | domain-uuid]
This operation is immediate and the virtual machine parameters are preserved in a suspend
and resume cycle.
6. Saving a Virtual Machine
You can use virsh to save the current state of a virtual machine to a file:
virsh save [domain-name][domain-id | domain-uuid][filename]
This stops the virtual machine you specify and saves the data to a file, which may take some
time given the amount of memory in use by your virtual machine. You can restore the state of
the virtual machine with the restore option .
7. Restoring a Virtual Machine
You can use virsh to restore a virtual machine that you previously saved with the virsh save
option :
virsh restore [filename]
This restarts the saved virtual machine, which may take some time. The virtual machine's name
and UUID are preserved but are allocated for a new id.
8. Shutting Down a Virtual Machine
You can use virsh to shut down a virtual machine:
virsh shutdown [domain-id | domain-name | domain-uuid]
Chapter 15. Managing Virtual Machines with virsh
30