]> xenbits.xensource.com Git - xen.git/commit
libxl: domain create: Do not destroy on ao abort
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 20 Dec 2013 15:31:32 +0000 (15:31 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 26 Jun 2015 15:53:50 +0000 (16:53 +0100)
commitf0c4c53ff29ad3dc2c79996cc3ef61e8d340af91
treee76ea7631fbaa74bfc40bd0e3355e859249708c0
parent8a56a84b03636e639d00a3b11b238c6434c1e3fe
libxl: domain create: Do not destroy on ao abort

If we aborted the domain creation, do not try to tear it down again
Document this.

This is a backwards-compatible API change since old libxl users will
never abort any operations.

In the current code, there is no functional change, because
ERROR_ABORTED is never generated anywhere yet.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
---
v4: ABORTED not CANCELLED.
    Always write out guest domid on completion.
    Do not trash rc with libxl__set_domain_configuration on preserve path.
tools/libxl/libxl.h
tools/libxl/libxl_create.c