Where to start First steps track · 15 stages
Linux Labs

KVM and libvirt

cheat sheet · Ubuntu 24.04 · libvirt · KVM https://lab.dimsanych.ru/en/wiki/kvm-libvirt/

Cheat sheet

  • virsh list --all all VMs
  • virsh start vm start it
  • virsh shutdown vm graceful shutdown (ACPI)
  • virsh console vm serial console (Ctrl+] to exit)
  • virsh net-list --all virtual networks
  • virsh domiflist vm a VM's interfaces
  • virsh snapshot-create-as vm snap a snapshot
  • virsh -c qemu+ssh://user@host/system list a remote host
Loading…