Re: [PATCH 0/1] uio_pci_generic: extensions to allow access for non-privilegedprocesses

From: Avi Kivity
Date: Fri Apr 09 2010 - 13:44:03 EST


On 04/09/2010 07:34 PM, Tom Lyon wrote:
- access to all config space, but BARs must be translated so userspace
cannot attack the host
Please elaborate. All of PCI config? All of PCIe config? Seems like a huge mess.

Yes. Anything a guest's device driver may want to access.

The 'check' items are already done, not fully tested; probably available next week.
Can we leave the others for future patches? Please?

Hey, I was expecting we'd have to do all of this. The requirements list was to get the uio maintainers confirmation that this is going in an acceptable direction.

We can definitely proceed incrementally.

And I definitely need help with
the PCI config stuff.

Sure.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/