Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: adding /dev/xen/gnttab



On Sat, Sep 04, 2010 at 12:57:15AM +0200, Jean-Yves Migeon wrote:
>
> After a quick look at man pages, there is effectively cdevvp(9) to get a
> vnode for a char device, and it could be used further through
> VOP_MMAP(), but it has nothing to do with fdes...

Right, and this is why you need the gnttab node to be a pseudodevice node,
because device drivers can implement their own d_mmap entry point.

However, I don't see why the pseudodevice node cannot be presented in the
current kernfs namespace, instead of moving everything to /dev/xen right
away.

-- 
Thor Lancelot Simon                                    
tls%rek.tjls.com@localhost
  "All of my opinions are consistent, but I cannot present them all
   at once."    -Jean-Jacques Rousseau, On The Social Contract


Home | Main Index | Thread Index | Old Index