libxl: colo: rearrange things in header files
authorWei Liu <wei.liu2@citrix.com>
Tue, 5 Apr 2016 18:15:49 +0000 (19:15 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 6 Apr 2016 14:10:10 +0000 (15:10 +0100)
commit3b43f1df86e043d6f9437e478e1357cda648671d
treeec7ab7e56d7ec5916c618253950d3a76f3428675
parentd5f89735e06e4033abdb04a62d713860742d43f8
libxl: colo: rearrange things in header files

We need to separate COLO code from common code as clean as possible.
With this patch, all COLO structures are now in libxl_colo.h.

It does the following:
1. Move two typedefs for libxl__domain_create_state{,cb} back to
   libxl_internal.h.
2. Move libxl__colo_save_state to libxl_colo.h.
3. Include libxl_internal.h in libxl_colo.h.
4. Move a bunch of colo typedefs to the top of libxl_internal.h.
5. Move the inclusion of libxl_colo.h to the right place in
   libxl_internal.h.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_colo.h
tools/libxl/libxl_internal.h