Difference between revisions of "Template:Virsh operations"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* Reset VM:<code>[[virsh reset]]</code> emulates the power reset button on a machine | * Reset VM:<code>[[virsh reset]]</code> emulates the power reset button on a machine | ||
* Resume VM:<code>[[virsh resume]]</code> | * Resume VM:<code>[[virsh resume]]</code> | ||
− | * | + | * 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> | * <code>[[virsh suspend]]</code> | ||
+ | * Create: <code>[[virsh define]]</code> | ||
+ | * <code>[[virsh undefine]]</code> |
Latest revision as of 20:44, 26 May 2022
- 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
- Create:
virsh define
virsh undefine
Advertising: