libxl: make domain resume API asynchronous
authorIan Campbell <ian.campbell@citrix.com>
Thu, 23 Aug 2012 18:00:09 +0000 (19:00 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 23 Aug 2012 18:00:09 +0000 (19:00 +0100)
commit7eaccb3cc3fabdde1fe7ef55300941f5520ca785
treebd8515be66ce604994f8bc2aed13e8251fe49678
parentfd5729846b86580e1878b3af4565fb4d8c444457
libxl: make domain resume API asynchronous

Although the current implementation has no asynchromous parts I can
envisage it needing to do bits of create/destroy like functionality
which may need async support in the future.

To do this make the meat into an internal libxl__domain_resume
function in order to satisfy the no-internal-callers rule for the
async function.

Since I needed to touch the logging to s/ctx/CTX/ anyway switch to the
LOG* helper macros.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h
tools/libxl/xl_cmdimpl.c