Discussion:
service router
Nobody III
2016-03-16 06:39:52 UTC
Permalink
I've been trying to implement my own service router, to make dynamic
configuration easier. However, I'm struggling to find a way to request
services with only a label and a service name and provide them when a
service is requested. I've looked at the init code, but I'm trying to allow
the server to provide services to siblings, which complicates things. Could
somebody please give me some pointers? I suspect that I may need to extend
Genode::Root to provide different services/capabilities according the the
router's policy. Am I correct? I haven't quite been able to piece together
how capability/session requests are resolved.
Emery
2016-03-17 09:51:47 UTC
Permalink
Which services are you interested in routing?
Depending on the service it may be simplier to manage with proxies.

Emery
Post by Nobody III
I've been trying to implement my own service router, to make dynamic
configuration easier. However, I'm struggling to find a way to request
services with only a label and a service name and provide them when a
service is requested. I've looked at the init code, but I'm trying to allow
the server to provide services to siblings, which complicates things. Could
somebody please give me some pointers? I suspect that I may need to extend
Genode::Root to provide different services/capabilities according the the
router's policy. Am I correct? I haven't quite been able to piece together
how capability/session requests are resolved.
Nobody III
2016-03-17 15:05:10 UTC
Permalink
I'm trying to make this service router able to support any service. I've
made some progress since the email. I made my own Root class (inheriting
Genode::Root), then made a class similar to the Root_component class, but
capable of using my Root. In the Main method, I created my Root_component
equivalent, then used env()->parent()->annouce(ep.manage(root));. When I
tested this, I got an IPC_error.
Post by Emery
Which services are you interested in routing?
Depending on the service it may be simplier to manage with proxies.
Emery
Post by Nobody III
I've been trying to implement my own service router, to make dynamic
configuration easier. However, I'm struggling to find a way to request
services with only a label and a service name and provide them when a
service is requested. I've looked at the init code, but I'm trying to
allow
Post by Nobody III
the server to provide services to siblings, which complicates things.
Could
Post by Nobody III
somebody please give me some pointers? I suspect that I may need to
extend
Post by Nobody III
Genode::Root to provide different services/capabilities according the the
router's policy. Am I correct? I haven't quite been able to piece
together
Post by Nobody III
how capability/session requests are resolved.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Nobody III
2016-03-18 04:02:16 UTC
Permalink
It's working now, but I still have a question: How exactly do ram quota
transfers work? I understand conceptually, but what are the exact functions
involved and how exactly do they work? Is there a good simple example of
this?
Post by Nobody III
I'm trying to make this service router able to support any service. I've
made some progress since the email. I made my own Root class (inheriting
Genode::Root), then made a class similar to the Root_component class, but
capable of using my Root. In the Main method, I created my Root_component
equivalent, then used env()->parent()->annouce(ep.manage(root));. When I
tested this, I got an IPC_error.
Post by Emery
Which services are you interested in routing?
Depending on the service it may be simplier to manage with proxies.
Emery
Post by Nobody III
I've been trying to implement my own service router, to make dynamic
configuration easier. However, I'm struggling to find a way to request
services with only a label and a service name and provide them when a
service is requested. I've looked at the init code, but I'm trying to
allow
Post by Nobody III
the server to provide services to siblings, which complicates things.
Could
Post by Nobody III
somebody please give me some pointers? I suspect that I may need to
extend
Post by Nobody III
Genode::Root to provide different services/capabilities according the
the
Post by Nobody III
router's policy. Am I correct? I haven't quite been able to piece
together
Post by Nobody III
how capability/session requests are resolved.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Loading...