Linux Virtualization Info: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 26: Line 26:
  [[virsh dumpxml]] ''<vm-name>''
  [[virsh dumpxml]] ''<vm-name>''


[[Linux_Virtualization_Concepts#KVM_Virtual_Machine_States|State[[ of a guest virtual machine:
[[Linux_Virtualization_Concepts#KVM_Virtual_Machine_States|State]] of a guest virtual machine:
   
   
  [[virsh domstate]] ''<vm-name>''
  [[virsh domstate]] ''<vm-name>''

Revision as of 19:17, 4 July 2017

Internal

Info

Storage Pool

   virsh pool-list <pool-name> --all [--details] 
   virsh pool-info
   virsh pool-dumpxml.

Storage Volume

   virsh vol-list <pool-name> [--details]  
   virsh vol-info

Network

DHCP range of a virtual network: virsh net-edit <virtual-network-name>. More details: virsh net-edit and DNS and DHCP server's (dnsmasq).

Guest Virtual Machine

Dump the guest virtual machine XML definition with:

virsh dumpxml <vm-name>

State of a guest virtual machine:

virsh domstate <vm-name>