[Ofvwg] Further thoughts on uAPI

Hefty, Sean sean.hefty at intel.com
Mon Apr 25 11:51:59 PDT 2016


> API wise, yes it is an event channel, however, there must always be an
> FD, so if you want to do something to an event channel, it should be
> done via ioctl on that fd, not through the common fd. So 'get_fd' is
> another form of 'create_object' except that the returned object_handle
> is a fd number not an object id.
> 
> Perhaps 'create_fd_object' instead ?

I think we're pretty much in agreement, just differences in details.

I was thinking that create event channel would return an fd and implicitly define its ioctl format.  Create_fd_object is more generic, but how were you thinking of defining the ioctl format?



More information about the ofvwg mailing list