Virsh destroy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
=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.
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.