Skip to content

Commit

Permalink
Merge pull request #5974 from MarkSymsCtx/update_docs
Browse files Browse the repository at this point in the history
Update the docs for Volume.compose
  • Loading branch information
robhoes authored Sep 9, 2024
2 parents e9da493 + d9534cf commit 9e69194
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ocaml/xapi-storage/generator/lib/control.ml
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,15 @@ module Volume (R : RPC) = struct
let compose =
R.declare "compose"
[
"[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."
"[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."
]
(dbg @-> sr @-> key @-> key2 @-> returning unit errors)

Expand Down

0 comments on commit 9e69194

Please sign in to comment.