Docu review done: Thu 29 Jun 2023 12:36:25 CEST

Table of Content

xml handling

ComandsDescription
virsh dumpxml [vmname]dumps the current vm config to stdout
virsh undefine [vmname]removes a VM from the list. Does not do anything else (like deleting files or smth)
virsh define [path_to_xml]defines a vm based on given xml
virsh edit [vmname]edit the xml config of a vm

start stop vm

ComandsDescription
virsh start [vmname]starts vm
virsh shutdown [vmname]tries to shut down a vm
virsh reset [vmname]resetbutton
virsh destroy [vmnam]kills a running vm

snapshots

ComandsDescription

migration

live migration without shared storage, note that root ssh login must be allowed (did not try other user yet)

$ virsh migrate --live --persistent --copy-storage-all --verbose ${vmname} qemu+ssh://${destserver}/system

hardware attach detach

ComandsDescription