2 """Get the connection that owns the domain that a snapshot was created for"""
6 """Get the domain that a snapshot was created for"""
9 def listAllChildren(self
, flags
):
10 """List all child snapshots and returns a list of snapshot objects"""
11 ret
= libvirtmod
.virDomainSnapshotListAllChildren(self
._o
, flags
)
13 raise libvirtError("virDomainSnapshotListAllChildren() failed", conn
=self
)
17 retlist
.append(virDomainSnapshot(self
, _obj
=snapptr
))