reboot
Reboots a guest using the current libvirt-internal configuration.
For making virtual server configuration changes effective, shut down the virtual server and start it again instead of rebooting it.
The exact reboot behavior of a virtual server is configured by the on_reboot element in the domain configuration-XML (see <on_reboot>.
Syntax
Where:- <VS>
- Is the name, ID, or UUID of the virtual server.
Virtual server state transition
- If on_reboot is configured as
restart
: -
From State Transfer State (reason) To State (reason) running shut off (shutdown) running (booted) paused shut off (shutdown) running (booted) - If on_reboot is configured as
destroy
: -
From State Transfer State (reason) To State (reason) running shut off (destroyed) running (booted) paused shut off (destroyed) running (booted)
Example
# virsh reboot vserv1
Domain vserv1 is being rebooted