Messages in this thread | | | Date | Wed, 2 Jun 2010 11:53:54 +0200 | From | Joerg Roedel <> | Subject | Re: [PATCH] VFIO driver: Non-privileged user level PCI drivers |
| |
On Tue, Jun 01, 2010 at 09:59:40PM -0700, Tom Lyon wrote: > This is just what I was thinking. But rather than a get/set, just use two fds. > > ioctl(vfio_fd1, VFIO_SET_DOMAIN, vfio_fd2); > > This may fail if there are really 2 different IOMMUs, so user code must be > prepared for failure, In addition, this is strictlyupwards compatible with > what is there now, so maybe we can add it later.
How can this fail with multiple IOMMUs? This should be handled transparently by the IOMMU driver.
Joerg
| |