bug-hurd
[Top][All Lists]
Advanced

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

Re: Almost working pci-arbiter with rumpdisk


From: Samuel Thibault
Subject: Re: Almost working pci-arbiter with rumpdisk
Date: Sun, 21 Feb 2021 02:24:09 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le dim. 21 févr. 2021 12:15:11 +1100, a ecrit:
> On 20/2/21 10:16 pm, Samuel Thibault wrote:
> > It's hard to tell exactly without seeing what exactly you have done
> > already. As I wrote before, device_open should return a port to the
> > root directory of the pci-arbiter tree. I'm not sure exactly what you
> > wrote to achieve that.
> 
> I think I am missing the auth handle and proc server handles.

Ah, possibly. Perhaps you could make libnetfs to accept any access when
auth/proc are not available

> Do I need to call _hurd_init() before starting rump?

No, you'd need actual auth/proc servers, which at that point cannot work
since we don't have a FS yet.

> Maybe I can bypass the auth just to get a protid on root of pci arbiter tree?
> But then how will libpciaccess do lookups during rump bootstrap?

? once libpciaccess gets a port on pci-arbiter's root, it can use
file_name_lookup_under to open directories and files in it. libnetfs
will want to check permissions, but it could be made to accept anything
when auth/proc are not available yet.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]