libxl: ao abort: Abort libxc save/restore
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 10 Feb 2015 19:10:18 +0000 (19:10 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 26 Jun 2015 15:53:51 +0000 (16:53 +0100)
commite12dade76a5a2d5001db3351835f443abae0ca2a
tree754f7a820f1871ae1ce80bf80065855fed4bf7e3
parentb6ac9b7fc6bb18057a1aa114296b32f59b40e187
libxl: ao abort: Abort libxc save/restore

Register the the save/restore helper interface with the abort
machinery.  When we are informed that save/restore should be aborted,
we make a note of the that in our rc variable, and send the helper a
SIGTERM.  It will die in due course.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v2: New in this version of the series.
tools/libxl/libxl_internal.h
tools/libxl/libxl_save_callout.c