Files
xen/tools/xl
Paul Durrant bc7b534305 libxl: add definition of INVALID_DOMID to the API
Currently both xl and libxl have internal definitions of INVALID_DOMID
which happen to be identical. However, for the purposes of describing the
behaviour of libxl_domain_create_new/restore() it is useful to have a
specified invalid value for a domain id.

This patch therefore moves the libxl definition from libxl_internal.h to
libxl.h and removes the internal definition from xl_utils.h. The hardcoded
'-1' passed back via domcreate_complete() is then updated to INVALID_DOMID
and comment above libxl_domain_create_new/restore() is accordingly
modified.

NOTE: The value of INVALID_DOMID (~0) is distinct from the hypervisor's
      DOMID_INVALID. This patch preserves that value.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
2020-01-31 16:10:46 +00:00
..
2017-03-02 13:41:03 +00:00
2019-05-13 11:28:27 +01:00
2017-02-28 10:40:07 +00:00
2018-10-08 15:20:18 +01:00
2017-02-28 10:40:07 +00:00
2018-07-25 11:08:21 +01:00
2017-02-28 10:40:07 +00:00
2017-02-28 10:40:07 +00:00
2018-07-25 11:08:22 +01:00
2019-05-13 11:28:27 +01:00