Messages in this thread | | | Date | Wed, 2 Jun 2021 14:24:24 -0300 | From | Jason Gunthorpe <> | Subject | Re: [RFC] /dev/ioasid uAPI proposal |
| |
On Wed, Jun 02, 2021 at 10:56:48AM +0200, Enrico Weigelt, metux IT consult wrote:
> If I understand this correctly, /dev/ioasid is a kind of "common supplier" > to other APIs / devices. Why can't the fd be acquired by the > consumer APIs (eg. kvm, vfio, etc) ?
/dev/ioasid would be similar to /dev/vfio, and everything already deals with exposing /dev/vfio and /dev/vfio/N together
I don't see it as a problem, just more work.
Having FDs spawn other FDs is pretty ugly, it defeats the "everything is a file" model of UNIX.
Jason
| |