tools/ocaml/xenstored: unify watch firing
authorEdwin Török <edvin.torok@citrix.com>
Tue, 15 Dec 2020 13:06:48 +0000 (14:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 13:06:48 +0000 (14:06 +0100)
commit6fa3e05ff5a8083a0be29ac66d4d94bb57e252f2
tree15d32f2d940807f2b89cdc3e1a74784d9fb851f2
parentf4405b67aa7f33d07dd374226b0b4e3bb1fefb69
tools/ocaml/xenstored: unify watch firing

This will make it easier insert additional checks in a follow-up patch.
All watches are now fired from a single function.

This is part of XSA-115.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/ocaml/xenstored/connection.ml