]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
libxl: domain_config_setdefault: Document use of domid
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 28 Oct 2019 12:04:04 +0000 (12:04 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Mon, 28 Oct 2019 18:09:24 +0000 (18:09 +0000)
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 <ian.jackson@eu.citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/libxl/libxl_arch.h
tools/libxl/libxl_create.c

index ee6641b3e606e8828f9b5c60756da2f6415c3265..6a91775b9e20699b27b0262790276635db3b5724 100644 (file)
@@ -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);
 
index d59ac2ab0556b913de42d17bbf3dbb980001ac63..32d45dcef02a2a2dff13d0da6c54768b8fa47513 100644 (file)
@@ -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;