[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] libxl: domain_config_setdefault: Document use of domid



commit 7d2655f2064192fc216b5c578964c15d89c01ed7
Author:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
AuthorDate: Mon Oct 28 12:04:04 2019 +0000
Commit:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
CommitDate: Mon Oct 28 18:09:24 2019 +0000

    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 <ian.jackson@xxxxxxxxxxxxx>
    Release-acked-by: Juergen Gross <jgross@xxxxxxxx>
    Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 tools/libxl/libxl_arch.h   | 2 +-
 tools/libxl/libxl_create.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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;
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.