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