Re: [PATCH 0/7] KVM: Kernel-based Virtual Machine

From: Arnd Bergmann
Date: Sun Oct 22 2006 - 13:48:10 EST


On Sunday 22 October 2006 19:41, Avi Kivity wrote:
> One last thing: permissions.  The /dev/kvm model allows permissions to
> be controlled using standard unix access methods.  How do you control
> access to spufs?

The mount point has permissions that you can set to allow read/write
access to users/groups. You can do that as a mount option or later
with chmod.

spu_create has an argument to specify the permissions for a new
object and follows the regular umask rules.

I also chose to allow users to set permissions on each file in order
to do cross-user IPC, but so far, nobody has used this to my knowledge.

Arnd <><
-
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/