aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-04-15 10:42:07 +0100
committerGitHub <noreply@github.com>2021-04-15 10:42:07 +0100
commitf7e9ff4496cc53caf8217b6210e29628ec60561d (patch)
treec3f652ca18b02bde8bfae80c62f386f70ed880bf /include
parent2e50c5667ce8724b0b7963255d3016efbb1f568a (diff)
downloadlibvfio-user-f7e9ff4496cc53caf8217b6210e29628ec60561d.zip
libvfio-user-f7e9ff4496cc53caf8217b6210e29628ec60561d.tar.gz
libvfio-user-f7e9ff4496cc53caf8217b6210e29628ec60561d.tar.bz2
vfu_ctx_create(): validate flags argument (#442)
In addition, return ENOTSUP for unknown device types, and add some unit tests. Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'include')
-rw-r--r--include/libvfio-user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libvfio-user.h b/include/libvfio-user.h
index d1c30e4..a5dcc75 100644
--- a/include/libvfio-user.h
+++ b/include/libvfio-user.h
@@ -95,7 +95,7 @@ typedef enum {
*
* @trans: transport type
* @path: path to socket file.
- * @flags: context flags
+ * @flags: context flags (LIBVFIO_USER_FLAG_*)
* @pvt: private data
* @dev_type: device type
*