Re: GSoC project about virtualization using Hurd mechanisms

2008-04-17 Thread Lluis
El Tue, Apr 15, 2008 at 08:48:26AM +0200, [EMAIL PROTECTED] ens deleit� amb les seg�ents paraules: [...] > Well, for one -- as I said -- the hypervisor could be completely > transparent, just emulating the "real" device, so the subhurd doesn't > even know it's not talking to the kernel. This is

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-16 Thread olafBuddenhagen
Hi, You replied off-list; I assume that was inadvertent... On Wed, Apr 16, 2008 at 01:17:27AM +0200, zhengda wrote: > [EMAIL PROTECTED] wrote: >> Well, for one -- as I said -- the hypervisor could be completely >> transparent, just emulating the "real" device, so the subhurd doesn't >> even know

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-15 Thread olafBuddenhagen
Hi, On Sun, Apr 13, 2008 at 11:53:51PM +0200, zhengda wrote: > As my understanding, the role of the BPF translator is to work as a > guard between the user and the packet filter in the kernel. Right. As I said, I'm not sure whether it was originally meant as a guard, or only for convenience...

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-13 Thread zhengda
Hi, [EMAIL PROTECTED] wrote: No, not really. Unlike the full network hypervisor, which I mentioned as an alternative design, the BPF translator is only responsible for setting the filter rules; the actual packets are still sent/received through the kernel device directly... But being in charge

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-13 Thread olafBuddenhagen
Hi, On Fri, Apr 11, 2008 at 10:50:22AM +0200, zhengda wrote: > I have a question: why is it not safe for two pfinets to share one > device? the communication between the device driver and pfinet is IPC. > As long as IPC communication is safe, the device driver should be able > to get all packets

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-11 Thread zhengda
[EMAIL PROTECTED] wrote: And why do you not think it's an elegant solution? Well, I generally dislike the idea of the packet filter in the kernel... On one Hand, it is convenient that you can run multiple systems in parallel (e.g. subhurds), and they don't need to know about each other at

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-10 Thread olafBuddenhagen
Hi, On Thu, Apr 10, 2008 at 02:14:06PM +0200, zhengda wrote: > What I mean is the mechanism provided by the packet filter provides us > a possible solution. I don't expect it works now:-) I see :-) > As I can see, ether_filter in pfinet is hard coded. I think it's > better to allow the user t

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-10 Thread zhengda
[EMAIL PROTECTED] wrote: On Wed, Apr 09, 2008 at 11:45:15PM +0200, zhengda wrote: In hurd, pfinet registers a filter when it open the ethernet device (this ethernet device can be thought as a stub, right?), so it can receive the packet it wants from the network. Sorry, no idea what yo

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-10 Thread olafBuddenhagen
Hi, On Wed, Apr 09, 2008 at 12:49:28AM +0200, zhengda wrote: > I read the code of pfinet, and find the implementation of TCP/IP stack > is almost the same as the linux. Indeed, it's the TCP/IP code from some older Linux version (2.0 I think), only converted to run as a Hurd translator :-) > pfi

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-09 Thread zhengda
[EMAIL PROTECTED] wrote: Hi, On Fri, Apr 04, 2008 at 06:00:38PM +0200, Zheng Da wrote: So could you give me some more advices to help me get into the project faster? For example, which article or which part of code should I read first? I think studying the interaction between the TCP

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-08 Thread zhengda
[EMAIL PROTECTED] wrote: Hi, On Fri, Apr 04, 2008 at 06:00:38PM +0200, Zheng Da wrote: So could you give me some more advices to help me get into the project faster? For example, which article or which part of code should I read first? I think studying the interaction between the TCP

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-05 Thread olafBuddenhagen
Hi, On Fri, Apr 04, 2008 at 06:00:38PM +0200, Zheng Da wrote: > So could you give me some more advices to help me get into the project > faster? For example, which article or which part of code should I read > first? I think studying the interaction between the TCP/IP stack (pfinet) and the kern

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-04 Thread Zheng Da
Hi, I'll try to do it, but it will take a little long time because I have a lot of projects from my school these days. So could you give me some more advices to help me get into the project faster? For example, which article or which part of code should I read first? Best, Zheng Da On Fri, Apr 4

Re: GSoC project about virtualization using Hurd mechanisms

2008-04-04 Thread olafBuddenhagen
Hi, On Tue, Apr 01, 2008 at 07:39:07PM +0200, zhengda wrote: > There are two choices for me: to improve subhurds and to create a new > subenvironments. OK. > In my understanding, Hurd is a set of servers which provide the > services provided by the monolithic kernel before such as file > syste

GSoC project about virtualization using Hurd mechanisms

2008-04-01 Thread zhengda
Hello, I want to do the project of virtualization using Hurd mechanisms. There are two choices for me: to improve subhurds and to create a new subenvironments. Here are the descriptions about them: In my understanding, Hurd is a set of servers which provide the services provided by the monolit