]> xenbits.xensource.com Git - xen.git/commit
oxenstored: refactor request processing
authorJonathan Davies <jonathan.davies@citrix.com>
Thu, 17 Mar 2016 17:51:11 +0000 (17:51 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 Mar 2016 14:26:52 +0000 (14:26 +0000)
commit363ae55c8ac4e88987c6df098f530c47956f55be
tree5323b124fb7963b671264a7786c99760f950c345
parentf8ec0bc652de017f9e7c8f7ba02a79a99221cb0b
oxenstored: refactor request processing

Encapsulate the request in a record that is passed from do_input to
process_packet and input_handle_error.

This will be helpful when keeping track of the requests made as part of a
transaction.

Signed-off-by: Jonathan Davies <jonathan.davies@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jon Ludlam <jonathan.ludlam@citrix.com>
Reviewed-by: Euan Harris <euan.harris@citrix.com>
Acked-by: David Scott <dave@recoil.org>
tools/ocaml/xenstored/packet.ml
tools/ocaml/xenstored/process.ml