1 def listAllSnapshots(self
, flags
):
2 """List all snapshots and returns a list of snapshot objects"""
3 ret
= libvirtmod
.virDomainListAllSnapshots(self
._o
, flags
)
5 raise libvirtError("virDomainListAllSnapshots() failed", conn
=self
)
9 retlist
.append(virDomainSnapshot(self
, _obj
=snapptr
))