From f7e9ff4496cc53caf8217b6210e29628ec60561d Mon Sep 17 00:00:00 2001 From: John Levon Date: Thu, 15 Apr 2021 10:42:07 +0100 Subject: 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 Reviewed-by: Thanos Makatos --- include/libvfio-user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 * -- cgit v1.1