Difference between revisions of "Template:Virsh operations"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* ''Destroy'' VM: <code>[[virsh destroy]] VM_NAME</code> (Ungraceful Shutdown/stop VM. Actually do not destroy data or VM but you can corrupt guest file systems) | * ''Destroy'' VM: <code>[[virsh destroy]] VM_NAME</code> (Ungraceful Shutdown/stop VM. Actually do not destroy data or VM but you can corrupt guest file systems) | ||
** <code>virsh destroy VM_MACHINE_NAME --graceful</code> | ** <code>virsh destroy VM_MACHINE_NAME --graceful</code> | ||
+ | * <code>[[virsh suspend]]</code> |
Revision as of 15:00, 15 January 2020
- Start VM:
virsh start VM_MACHINE_NAME
- Shutdown VM:
virsh shutdown
(stop) Gracefully VM - Reboot VM:
virsh reboot
Restart VM - Reset VM:
virsh reset
emulates the power reset button on a machine - Resume VM:
virsh resume
- Destroy VM:
virsh destroy VM_NAME
(Ungraceful Shutdown/stop VM. Actually do not destroy data or VM but you can corrupt guest file systems)virsh destroy VM_MACHINE_NAME --graceful
virsh suspend
Advertising: