[libvirt PATCH 01/11] qemu_snapshot: create: move XML parsing to separate function