Skip to content

Commit 6dea56a

Browse files
authored
Merge pull request xapi-project#5544 from psafont/private/paus/chelydra
2 parents 6089fe2 + 0c6805f commit 6dea56a

13 files changed

+241
-227
lines changed

.git-blame-ignore-revs

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ b020cf35a1f2c274f95a4118d4596043cba6113f
2929
ff39018fd6d91985f9c893a56928771dfe9fa48d
3030
cbb9edb17dfd122c591beb14d1275acc39492335
3131
d6ab15362548b8fe270bd14d5153b8d94e1b15c0
32+
b12cf444edea15da6274975e1b2ca6a7fce2a090
3233

3334
# ocp-indent
3435
d018d26d6acd4707a23288b327b49e44f732725e

ocaml/idl/datamodel.ml

+1
Original file line numberDiff line numberDiff line change
@@ -8177,6 +8177,7 @@ let http_actions =
81778177
; Bool_query_arg "include_dom0"
81788178
; Bool_query_arg "include_vhd_parents"
81798179
; Bool_query_arg "export_snapshots"
8180+
; String_query_arg "excluded_device_types"
81808181
]
81818182
, _R_VM_ADMIN
81828183
, []

ocaml/idl/datamodel_vm.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1899,7 +1899,7 @@ let t =
18991899
; field ~qualifier:DynamicRO ~ty:(Set (Ref _vbd)) "VBDs"
19001900
"virtual block devices"
19011901
; field ~qualifier:DynamicRO ~ty:(Set (Ref _vusb)) "VUSBs"
1902-
"vitual usb devices"
1902+
"virtual usb devices"
19031903
; field ~writer_roles:_R_POOL_ADMIN ~qualifier:DynamicRO
19041904
~ty:(Set (Ref _crashdump)) "crash_dumps"
19051905
"crash dumps associated with this VM"

ocaml/idl/schematest.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let hash x = Digest.string x |> Digest.to_hex
33
(* BEWARE: if this changes, check that schema has been bumped accordingly in
44
ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *)
55

6-
let last_known_schema_hash = "186131ad48f40dff30246e8e0c0dbf0a"
6+
let last_known_schema_hash = "a55d5dc70920dcf4ab72ed321497b482"
77

88
let current_schema_hash : string =
99
let open Datamodel_types in

ocaml/xapi-cli-server/cli_frontend.ml

+15-3
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,13 @@ let rec cmdtable_data : (string * cmd_spec) list =
17561756
; ( "vm-export"
17571757
, {
17581758
reqd= ["filename"]
1759-
; optn= ["preserve-power-state"; "compress"]
1759+
; optn=
1760+
[
1761+
"preserve-power-state"
1762+
; "compress"
1763+
; "metadata"
1764+
; "excluded-device-types"
1765+
]
17601766
; help= "Export a VM to <filename>."
17611767
; implementation= With_fd Cli_operations.vm_export
17621768
; flags= [Standard; Vm_selectors]
@@ -1798,7 +1804,13 @@ let rec cmdtable_data : (string * cmd_spec) list =
17981804
; ( "snapshot-export-to-template"
17991805
, {
18001806
reqd= ["filename"; "snapshot-uuid"]
1801-
; optn= ["preserve-power-state"]
1807+
; optn=
1808+
[
1809+
"preserve-power-state"
1810+
; "compress"
1811+
; "metadata"
1812+
; "excluded-device-types"
1813+
]
18021814
; help= "Export a snapshot to <filename>."
18031815
; implementation= With_fd Cli_operations.snapshot_export
18041816
; flags= [Standard]
@@ -1863,7 +1875,7 @@ let rec cmdtable_data : (string * cmd_spec) list =
18631875
; ( "template-export"
18641876
, {
18651877
reqd= ["filename"; "template-uuid"]
1866-
; optn= []
1878+
; optn= ["compress"; "metadata"; "excluded-device-types"]
18671879
; help= "Export a template to <filename>."
18681880
; implementation= With_fd Cli_operations.template_export
18691881
; flags= [Standard]

0 commit comments

Comments
 (0)