]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
libxc/save: introduce setup() and cleanup() on save
authorYang Hongyang <yanghy@cn.fujitsu.com>
Thu, 14 May 2015 08:55:09 +0000 (16:55 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 14 May 2015 12:03:05 +0000 (13:03 +0100)
commitaed0d958c28d46af24ba08cb01a8e8e7146b30bb
treec17e16bb4c159ccae9cbc9758d72848abb9645b9
parentebbbf9a1fed35105b16cb5dd70501ed3b5fde127
libxc/save: introduce setup() and cleanup() on save

introduce setup() and cleanup() which subsume the
ctx->save.ops.{setup,cleanup}() calls.
The SHADOW_OP_OFF hypercall is also included in the cleanup().

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <Ian.Campbell@citrix.com>
tools/libxc/xc_sr_save.c