Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
CA-394851: Update allowed operations on the cloned VBD
Default empty allowed_operations on a cloned VBD means that XenCenter
does not display the DVD option in the console tab for VMs cloned from
templates, for example.

Follow the practice in xapi_vbd, and update_allowed_operations immediately
after Db.VBD.create.

Signed-off-by: Andrii Sultanov <[email protected]>
  • Loading branch information
Andrii Sultanov committed Dec 5, 2024
commit d3c9a5010fa2a3746b68f6d10681b00965570e65
1 change: 1 addition & 0 deletions ocaml/xapi/xapi_vbd_helpers.ml
Original file line number Diff line number Diff line change
Expand Up @@ -443,4 +443,5 @@ let copy ~__context ?vdi ~vm vbd =
~qos_algorithm_type:all.API.vBD_qos_algorithm_type
~qos_algorithm_params:all.API.vBD_qos_algorithm_params
~qos_supported_algorithms:[] ~runtime_properties:[] ~metrics ;
update_allowed_operations ~__context ~self:new_vbd ;
new_vbd
Loading