]> xenbits.xensource.com Git - xen.git/commit
ocaml/xenctrl: Check return values from hypercalls
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 27 Jan 2015 20:38:11 +0000 (20:38 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 23 Jun 2015 10:52:40 +0000 (11:52 +0100)
commit10a95535b0dcde7daa3402b92f3c8d4494781c28
tree67aeea60754ef1a9fb81e6ffd66f54f66c430965
parent13623d5d8e854f20b2da885f4d452dc870912205
ocaml/xenctrl: Check return values from hypercalls

rather than blindly continuing and possibly using negative values.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Dave Scott <dave.scott@eu.citrix.com>
Acked-by: David Scott <dave.scott@citrix.com>
(cherry picked from commit 3380f5b6270e6fa4b24313f8808e7625e4c5a6ba)
(cherry picked from commit c91ed889ea3c3781a94a30909f30c3aad56c97d5)
tools/ocaml/libs/xc/xenctrl_stubs.c