Specifications

You can control the behavior of the rebooting virtual machine by modifying the on_shutdown
parameter of the xmdomain.cfg file.
9. Rebooting a Virtual Machine
You can use virsh to reboot a virtual machine:
virsh reboot [domain-id | domain-name | domain-uuid]
You can control the behavior of the rebooting virtual machine by modifying the on_reboot
parameter of the xmdomain.cfg file.
10. Terminating a Domain
You can use virsh to terminate a virtual machine:
virsh destroy [domain-name | domain-id | domain-uuid]
This command does an immediate ungraceful shutdown and stops any guest domain sessions
(which could potentially lead to file corruptted filesystems still in use by the virtual machine). You
should use the destroy option only when the virtual machine's operating system is
non-responsive. For a paravirtualized virtual machine, you should use the shutdown option .
11. Converting a Domain Name to a Domain ID
You can use virsh to convert a domain name or UUID to a domain id:
virsh domid [domain-name | domain-uuid]
12. Converting a Domain ID to a Domain Name
You can use virsh to convert a domain id or UUID to a domain name:
virsh domname [domain-name | domain-uuid]
13. Converting a Domain Name to a UUID
Rebooting a Virtual Machine
31