[libvirt] [PATCH v2 01/11] qemu: Move snapshot disk validation functions into one