]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
libxl: suspend: Async domain_suspend_callback_common
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 26 Nov 2013 15:28:39 +0000 (15:28 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 17 Mar 2014 15:53:59 +0000 (15:53 +0000)
commit9e816e079a7f76fa3ba2eedb8ab8e5df4041982f
tree9e75da399b20f71db380f8fe214d58afbcb871cd
parentb837b0daec4f8a91064d31fbcf55f382f75d361d
libxl: suspend: Async domain_suspend_callback_common

Make domain_suspend_callback_common do its work and then call
dss->callback_common_done, rather than simply returning its answer.

This is preparatory to abolishing the usleeps in this function and
replacing them with use of the event machinery.

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v3: Remove some trailing whitespace
tools/libxl/libxl_dom.c
tools/libxl/libxl_internal.h