Port-xen archive

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

Re: adding /dev/xen/gnttab

On 05.09.10 00:01, Jean-Yves Migeon wrote:
> On 04.09.2010 16:37, Thor Lancelot Simon wrote:
>> 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.
> kernfs will go away eventually; ad@ removed it initially, but he had to
> revert the change because of xentools (which are, IIRC, the last element
> needing a working kernfs).
> Moving everything to /dev/xen is something that should be done early in
> the xentools code: the sooner the code is in, the easier it will be to
> move "old" Xen kernfs nodes to /dev later.

Adapting the xentools is not the problem. The problem is to find someone
who is doing the kernel side changes.


Home | Main Index | Thread Index | Old Index