[Xen-devel] tools/libx: Don't export libxl__arch_* to the library

Message ID 1432126878-16252-1-git-send-email-julien.grall@citrix.com
State New
Headers show

Commit Message

Julien Grall May 20, 2015, 1:01 p.m.
From: Julien Grall <julien.grall@linaro.org>

libxl__arch_* should only be used internally by libxl.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
 tools/libxl/libxl_arch.h | 6 ++++++
 1 file changed, 6 insertions(+)


diff --git a/tools/libxl/libxl_arch.h b/tools/libxl/libxl_arch.h
index 77b1f2a..d04871c 100644
--- a/tools/libxl/libxl_arch.h
+++ b/tools/libxl/libxl_arch.h
@@ -16,31 +16,37 @@ 
 #define LIBXL_ARCH_H
 /* fill the arch specific configuration for the domain */
 int libxl__arch_domain_prepare_config(libxl__gc *gc,
                                       libxl_domain_config *d_config,
                                       xc_domain_configuration_t *xc_config);
 /* arch specific internal domain creation function */
 int libxl__arch_domain_create(libxl__gc *gc, libxl_domain_config *d_config,
                uint32_t domid);
 /* setup arch specific hardware description, i.e. DTB on ARM */
 int libxl__arch_domain_init_hw_description(libxl__gc *gc,
                                            libxl_domain_build_info *info,
                                            libxl__domain_build_state *state,
                                            struct xc_dom_image *dom);
 /* finalize arch specific hardware description. */
 int libxl__arch_domain_finalise_hw_description(libxl__gc *gc,
                                       libxl_domain_build_info *info,
                                       struct xc_dom_image *dom);
 /* build vNUMA vmemrange with arch specific information */
 int libxl__arch_vnuma_build_vmemrange(libxl__gc *gc,
                                       uint32_t domid,
                                       libxl_domain_build_info *b_info,
                                       libxl__domain_build_state *state);
 /* arch specific irq map function */
 int libxl__arch_domain_map_irq(libxl__gc *gc, uint32_t domid, int irq);