Displaying 1 result from an estimated 1 matches for "xs_ring_read".
2013 Feb 11
0
[xen-unstable test] 16014: regressions - FAIL
...changeset: 26521:2c0fd406f02c
user: Ian Jackson <ian.jackson@eu.citrix.com>
date: Thu Feb 07 14:21:44 2013 +0000
tools/ocaml: oxenstored: Be more paranoid about ring reading
oxenstored makes use of the OCaml Xenbus bindings, in which the
function xs_ring_read in tools/ocaml/libs/xb/xs_ring_stubs.c is used
to read from the shared memory Xenstore ring.
This function does not correctly handle all possible (prod, cons)
states when MASK_XENSTORE_IDX(prod) > MASK_XENSTORE_IDX(cons).
The root cause is the use of the unmasked values...