Skip to content

Commit 21422d8

Browse files
committed
fixup! CP-28301: validate and send HVM-boot-params["firmware"] to xenopsd
1 parent c95acac commit 21422d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ocaml/tests/test_platformdata.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ open OUnit
1717
open Test_highlevel
1818

1919
let firmware_type_printer v =
20-
v |> Xenops_types.Vm.rpc_of_firmware_type |> Jsonrpc.to_string
20+
v |> Rpcmarshal.marshal Xenops_types.Vm.typ_of_firmware_type
21+
|> Jsonrpc.to_string
2122

2223
let uefi = Xenops_types.Vm.Uefi Xenops_types.Nvram_uefi_variables.default_t
2324

0 commit comments

Comments
 (0)