destroy

Immediately terminates a virtual server and releases any used resources.

Syntax


1  destroy!  --domain <VS>?   --graceful
Where:
<VS>
Is the name, the ID, or the UUID of the virtual server.

Selected options

--domain
Specifies the virtual server.
--graceful
Tries to properly terminate the virtual server, and only if it is not responding in a reasonable amount of time, it is forcefully terminated.

Virtual server state transitions

From State To State (reason)
running shut off (destroyed)
paused shut off (destroyed)
crashed shut off (destroyed)

Usage

Terminating a virtual server

Example

This example immediately terminates virtual server vserv1.
# virsh destroy vserv1