[[linux_wiki:start_and_stop_virtual_machines]]

Start And Stop Virtual Machines

General Information

Controlling virtual machines from a KVM host.


Show running and stopped VMs

virsh list --all


Show only running VMs

virsh list


Show Config Info of VM

virsh dominfo server1


Show VM Activity

virt-top


Reboot VM Named “server1

virsh reboot server1


Stop VM Named “server1”

virsh shutdown server1


Start VM Named “server1”

virsh start server1


Stop VM Immediately (“pull power”)

virsh destroy server1


Delete VM Named “server1”

virsh undefine server1

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)