On Fri, Jul 31, 2020 at 5:12 AM Burakov, Anatoly <anatoly.burakov@intel.com> wrote:
On 30-Jul-20 5:54 PM, Owen Hilyard wrote:
> Thanks for the advice.
>
> I was wondering about the state of the "Setup VFIO permissions" option
> in the setup script. It seems to just modify the character device's
> permissions and then check their memory limit. Should this option also
> handle the hugepages setup?

I was under the (mis?)impression that the hugepage setup part of the
script did that?

 
It doesn't appear to set them up so that non-root users can use them. From what I can tell it only creates the pages, but doesn't change permissions on them in any way.