[libvirt] [PATCHv5 25/28] qemu: snapshot: Improve approach to deal with snapshot metadata