deflistAllChildren(self,flags):"""List all child snapshots and returns a list of snapshot objects"""ret=libvirtmod.virDomainSnapshotListAllChildren(self._o,flags)ifretisNone:raiselibvirtError("virDomainSnapshotListAllChildren() failed",conn=self)retlist=list()forsnapptrinret:retlist.append(virDomainSnapshot(self,_obj=snapptr))returnretlist