Bash shell one liner to dump all your KVM VM XML definitions.  One file per VM, in the current directory.

for I in $(virsh list --all | tail -n +3 | awk '{ print $2 }') ; do virsh dumpxml $I > ${I}.xml ; done