deflistAllVolumes(self,flags):"""List all storage volumes and returns a list of storage volume objects"""ret=libvirtmod.virStoragePoolListAllVolumes(self._o,flags)ifretisNone:raiselibvirtError("virStoragePoolListAllVolumes() failed",conn=self)retlist=list()forvolptrinret:retlist.append(virStorageVol(self,_obj=volptr))returnretlist