[PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Jun 20 17:47:29 EST 2013


On Thu, 2013-06-20 at 15:28 +1000, David Gibson wrote:
> > Just out of curiosity - would not get_file() and fput_atomic() on a
> group's
> > file* do the right job instead of vfio_group_add_external_user() and
> > vfio_group_del_external_user()?
> 
> I was thinking that too.  Grabbing a file reference would certainly be
> the usual way of handling this sort of thing.

But that wouldn't prevent the group ownership to be returned to
the kernel or another user would it ?

Ben.




More information about the Linuxppc-dev mailing list