Re: kvm PCI assignment VFIO ramblings

2011-08-26 Thread Aaron Fabbri
On 8/26/11 7:07 AM, Alexander Graf ag...@suse.de wrote: snip Forget the KVM case for a moment and think of a user space device driver. I as a user am not root. But I as a user when having access to /dev/vfioX want to be able to access the device and manage it - and only it. The admin of

Re: kvm PCI assignment VFIO ramblings

2011-08-26 Thread Aaron Fabbri
On 8/26/11 12:35 PM, Chris Wright chr...@sous-sol.org wrote: * Aaron Fabbri (aafab...@cisco.com) wrote: On 8/26/11 7:07 AM, Alexander Graf ag...@suse.de wrote: Forget the KVM case for a moment and think of a user space device driver. I as a user am not root. But I as a user when having

Re: kvm PCI assignment VFIO ramblings

2011-08-23 Thread Aaron Fabbri
On 8/23/11 10:01 AM, Alex Williamson alex.william...@redhat.com wrote: On Tue, 2011-08-23 at 16:54 +1000, Benjamin Herrenschmidt wrote: On Mon, 2011-08-22 at 17:52 -0700, aafabbri wrote: I'm not following you. You have to enforce group/iommu domain assignment whether you have the