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

Avi Kivity
2010-04-09T17:43:51Z

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.