Kvm notes sandbox

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску

Forward kvm host qemu vnc with ssh

$ ssh -L 5900:localhost:5900 <kvm-host-ip> -N

List all guests even not started

# virsh list --all

Guest migration

Dump config

virsh dumpxml --migratable <guest-name> >guest-name.xml

Restore guest config on new host

virsh create guest-name.xml