[[linux_wiki:start_and_stop_virtual_machines]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_wiki:start_and_stop_virtual_machines [2016/03/02 03:52]
billdozor [Start And Stop Virtual Machines]
linux_wiki:start_and_stop_virtual_machines [2019/05/26 03:50]
Line 1: Line 1:
-====== Start And Stop Virtual Machines ====== 
- 
-**General Information** 
- 
-Controlling virtual machines from a KVM host.  
- 
----- 
- 
-==== CLI Method ==== 
- 
-Show running and stopped VMs 
-<code bash> 
-virsh list --all 
-</​code>​ 
- 
-\\ 
-Show only running VMs 
-<code bash> 
-virsh list 
-</​code>​ 
- 
-\\ 
-Show Config Info of VM 
-<code bash> 
-virsh dominfo server1 
-</​code>​ 
- 
-\\ 
-Show VM Activity 
-<code bash> 
-virt-top 
-</​code>​ 
- 
-\\ 
-Reboot VM Named "​server1 
-<code bash> 
-virsh reboot server1 
-</​code>​ 
- 
-\\ 
-Stop VM Named "​server1"​ 
-<code bash> 
-virsh shutdown server1 
-</​code>​ 
- 
-\\ 
-Start VM Named "​server1"​ 
-<code bash> 
-virsh start server1 
-</​code>​ 
- 
-\\ 
-Stop VM Immediately ("pull power"​) 
-<code bash> 
-virsh destroy server1 
-</​code>​ 
- 
-\\ 
-Delete VM Named "​server1"​ 
-<code bash> 
-virsh undefine server1 
-</​code>​ 
- 
----- 
- 
-==== GUI Method ==== 
- 
-Shutdown 
-  * Applications > System Tools > Virtual Machine Manager 
-  * Right click VM > Shutdown > Shutdown 
- 
-Start 
-  * Applications > System Tools > Virtual Machine Manager 
-  * Right click VM > Run 
- 
----- 
  
  • linux_wiki/start_and_stop_virtual_machines.txt
  • Last modified: 2019/05/26 03:50
  • (external edit)