Displaying 1 result from an estimated 1 matches for "0c23496".
Did you mean:
023496
2020 Apr 26
0
[PATCH V3 1/2] vdpa: Support config interrupt in vhost_vdpa
...> - ctx = f.fd == -1 ? NULL : eventfd_ctx_fdget(f.fd);
> + ctx = f.fd == VHOST_FILE_UNBIND ? NULL : eventfd_ctx_fdget(f.fd);
> if (IS_ERR(ctx)) {
> r = PTR_ERR(ctx);
> break;
> diff --git a/include/uapi/linux/vhost.h b/include/uapi/linux/vhost.h
> index 9fe72e4..0c23496 100644
> --- a/include/uapi/linux/vhost.h
> +++ b/include/uapi/linux/vhost.h
> @@ -15,6 +15,8 @@
> #include <linux/types.h>
> #include <linux/ioctl.h>
>
> +#define VHOST_FILE_UNBIND -1
I think we need a separate patch for introducing this since we touches...