Skip to content

Commit 3dfd664

Browse files
author
Github action on xapi-project/xen-api
committed
1 parent b5b154b commit 3dfd664

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

source/includes/volume.html.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2513,7 +2513,7 @@ class Volume_myimplementation(Volume_skeleton):
25132513
length | in | int | The length of the extent for which changed blocks should be computed
25142514
changed_blocks | out | changed_blocks | The changed blocks between two volumes in the specified extent
25152515
## Method: `compose`
2516-
\[compose sr volume1 volume2\] layers the updates from \[volume2\] onto \[volume1\], modifying \[volume2\]. Implementations shall declare the VDI\_COMPOSE feature for this method to be supported.
2516+
\[compose sr child\_volume parent\_volume\] layers the updates from \[child\_volume\] onto \[parent\_volume\], modifying \[child\_volume\]. In the case of a delta file format this means updating the \[child\_volume\] to have a parent or backing object defined by \[parent\_volume\]. Implementations shall declare the VDI\_COMPOSE feature for this method to be supported. After a successful return it should be assumed that the \[parent\_volume\] is no longer valid. Calling SR.ls, will return the list of currently known, valid, volumes.
25172517

25182518
> Client
25192519
@@ -2579,9 +2579,15 @@ class Volume_myimplementation(Volume_skeleton):
25792579

25802580
def compose(self, dbg, sr, key, key2):
25812581
"""
2582-
[compose sr volume1 volume2] layers the updates from [volume2] onto
2583-
[volume1], modifying [volume2]. Implementations shall declare the
2584-
VDI_COMPOSE feature for this method to be supported.
2582+
[compose sr child_volume parent_volume] layers the updates from
2583+
[child_volume] onto [parent_volume], modifying [child_volume].
2584+
In the case of a delta file format this means updating the
2585+
[child_volume] to have a parent or backing object defined by
2586+
[parent_volume]. Implementations shall declare the VDI_COMPOSE
2587+
feature for this method to be supported. After a successful
2588+
return it should be assumed that the [parent_volume] is no
2589+
longer valid. Calling SR.ls, will return the list of currently
2590+
known, valid, volumes.
25852591
"""
25862592
# ...
25872593
```

0 commit comments

Comments
 (0)