]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
libxl: Document device parameter of libxl_device_<type>_add functions
authorEuan Harris <euan.harris@citrix.com>
Tue, 18 Nov 2014 17:07:41 +0000 (17:07 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 20 Nov 2014 15:31:50 +0000 (15:31 +0000)
The device parameter of libxl_device_<type>_add is an in/out parameter.
Unspecified fields are filled in with appropriate values for the created
device when the function returns.  Document this behaviour.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.h

index c3451bdc429f61eeccf7048339745daf6703d24f..41d6e8db6c0f5df9211eaf1d2e2a9045d6f2a2ab 100644 (file)
@@ -1109,6 +1109,10 @@ void libxl_vtpminfo_list_free(libxl_vtpminfo *, int nr_vtpms);
  *   domain to connect to the device and therefore cannot block on the
  *   guest.
  *
+ *   device is an in/out parameter:  fields left unspecified when the
+ *   structure is passed in are filled in with appropriate values for
+ *   the device created.
+ *
  * libxl_device_<type>_remove(ctx, domid, device):
  *
  *   Removes the given device from the specified domain by performing