Virsh (KVM/libvirt) and VMM

View all

virsh list –all

Start

virst start $1

  • $1 = Domain Name

Attach

virt-viewer $1

  • $1 = Domain Name

Shutdown

Normal

virsh shutdown $1

  • $1 = Domain Name

Forceful

virsh shutdown $1 –mode “signal 9”

  • $1 = Domain Name

Resize Disk

qemu-img resize $1 +$2

  • $1 = Domain Name

  • $2 = Size to append