libxl: libxl_qmp: Introduce qmp_request_context.
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 4 Nov 2011 12:38:25 +0000 (12:38 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Fri, 4 Nov 2011 12:38:25 +0000 (12:38 +0000)
commitca8450a226a986c24da53edcdfe9410cbe8d9018
tree6ae87957887cb10d86abc6a5ef1ca51326dadcd6
parentcec0a61c4355feb0c884fb14b851d3f3ec8df93a
libxl: libxl_qmp: Introduce qmp_request_context.

This structure helps to track the return code of a callback. It's only used
between qmp_synchronous_send and qmp_send.

Now, qmp_synchronous_send will return the rc of the callback if there is no
error.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/libxl_qmp.c