Virsh destroy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 7: Line 7:


<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
virsh destroy ''<vm-name>''
virsh destroy <vm-name>
</syntaxhighlight>
</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.
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.