From: Ian Jackson Date: Mon, 28 Oct 2019 12:04:04 +0000 (+0000) Subject: libxl: domain_config_setdefault: Document use of domid X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7d2655f2064192fc216b5c578964c15d89c01ed7;p=people%2Fliuw%2Fxen.git libxl: domain_config_setdefault: Document use of domid We are going to want to call this from a site which has a domid which is good for logging but not the domid of the domain we are creating (namely, the stub device domain). Consequently, add the same comment to libxl__arch_passthrough_mode_setdefault. Signed-off-by: Ian Jackson Release-acked-by: Juergen Gross Acked-by: Anthony PERARD --- diff --git a/tools/libxl/libxl_arch.h b/tools/libxl/libxl_arch.h index ee6641b3e6..6a91775b9e 100644 --- a/tools/libxl/libxl_arch.h +++ b/tools/libxl/libxl_arch.h @@ -74,7 +74,7 @@ void libxl__arch_domain_build_info_setdefault(libxl__gc *gc, _hidden int libxl__arch_passthrough_mode_setdefault(libxl__gc *gc, - uint32_t domid, + uint32_t domid /* for logging, only */, libxl_domain_config *d_config, const libxl_physinfo *physinfo); diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c index d59ac2ab05..32d45dcef0 100644 --- a/tools/libxl/libxl_create.c +++ b/tools/libxl/libxl_create.c @@ -891,7 +891,7 @@ static unsigned long libxl__get_required_iommu_memory(unsigned long maxmem_kb) int libxl__domain_config_setdefault(libxl__gc *gc, libxl_domain_config *d_config, - uint32_t domid) + uint32_t domid /* for logging, only */) { libxl_ctx *ctx = libxl__gc_owner(gc); int ret;