]> xenbits.xensource.com Git - xen.git/commit
tools/ocaml: Change Xb.input to return Packet.t option
authorEdwin Török <edvin.torok@citrix.com>
Wed, 12 Oct 2022 18:13:02 +0000 (19:13 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 1 Nov 2022 15:03:25 +0000 (15:03 +0000)
commitfccdca83a4425b0e30ec9e29e9a5909e1a55b80d
treeeb0c7bba2593c253e474cb71a9ef5effbff91383
parentbbb4ceab25124646fa845855f3cb95ae15d0c3f2
tools/ocaml: Change Xb.input to return Packet.t option

The queue here would only ever hold at most one element.  This will simplify
follow-up patches.

This is part of XSA-326.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
(cherry picked from commit c0a86a462721008eca5ff733660de094d3c34bc7)
tools/ocaml/libs/xb/xb.ml
tools/ocaml/libs/xb/xb.mli
tools/ocaml/libs/xs/xsraw.ml
tools/ocaml/xenstored/connection.ml
tools/ocaml/xenstored/process.ml