Virsh destroy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * virsh * Linux Virtualization Operations =Overview= virsh destroy ''<vm-name>''")
 
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[Virsh#Commands|virsh]]
* [[Virsh#Commands|virsh]]
* [[Linux_Virtualization_Operations#Start.2FStop_Guest_VMs|Linux Virtualization Operations]]
* [[Linux_KVM_Virtualization_Guest_Operations#Start.2FStop_Guest_Virtual_Machines|Linux Virtualization Guest Operations]]


=Overview=
=Overview=


virsh destroy ''<vm-name>''
<syntaxhighlight lang='bash'>
virsh destroy <vm-name>
</syntaxhighlight>
 
This command does an immediate ungraceful shutdown and stops the specified guest. Using virsh destroy can corrupt guest file systems. Use the destroy option only when the guest is unresponsive and the [[virsh shutdown]] failed.

Latest revision as of 00:11, 7 December 2020

Internal

Overview

virsh destroy <vm-name>

This command does an immediate ungraceful shutdown and stops the specified guest. Using virsh destroy can corrupt guest file systems. Use the destroy option only when the guest is unresponsive and the virsh shutdown failed.