All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libxl: Document device parameter of libxl_device_<type>_add functions
@ 2014-11-18 17:07 Euan Harris
  2014-11-18 17:44 ` Ian Jackson
  0 siblings, 1 reply; 4+ messages in thread
From: Euan Harris @ 2014-11-18 17:07 UTC (permalink / raw)
  To: xen-devel; +Cc: Euan Harris, ian.jackson

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>
---
 tools/libxl/libxl.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
index c3451bd..41d6e8d 100644
--- a/tools/libxl/libxl.h
+++ b/tools/libxl/libxl.h
@@ -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
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-20 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18 17:07 [PATCH] libxl: Document device parameter of libxl_device_<type>_add functions Euan Harris
2014-11-18 17:44 ` Ian Jackson
2014-11-18 18:19   ` Konrad Rzeszutek Wilk
2014-11-20 15:57     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.