[libvirt] [PATCHv2 04/20] snapshot: merge pre-snapshot checks