hi, Andreas thank you very much for your answers! I'm sorry that i reply so late.
As you pointed out, the speed difference between the guest and the host is the key point. I will try to use the Tap to do the job. If I encounter some questions, I will discuss with you and other experts! :) thank you again! zhangyi From: Andreas Hansson Date: 2013-07-11 20:54 To: gem5 Developer List Subject: Re: [gem5-dev] Does gem5 instance (ARM FS) support communicating with outside real world? Hi Zhangyi, gem5 does currently not support any interaction with the host-side ethernet. It would be a very valuable addition (although it would make simulations non-deterministic), and the tricky bit is the big speed difference between the guest and the host. TCP/IP has a lot of timers that would cause havoc if you simply tried to bridge the interfaces (like e.g. vmware, parallels and virtualbox does). If you want to start working on a gem5 guest/host-ethernet bridge, I'd say go ahead and kick off a discussion about the design. I'm sure there's plenty people out there with ideas. When it comes to your second question it is also not available today. Someone would have to implement an ethernet switch. This should not be too complex (far easier than the bridge above) and would also be a very welcome addition to the toolbox. In short: great ideas, we just need someone to actually do it. Andreas On 11/07/2013 09:10, "zhangyi" <[email protected]> wrote: >Hi,all > > >We have a need that simulated FS ARM communicates with other real hosts >through ethernet. I don't know if gem5 supports that right now. If >doesn't, how can I try to make it? Is there anyone having ideas about >this problem? > > >Besides, I know that the gem5 supports --dual args, with which booting >two instances linked by a etherlink can be possible. Can gem5 supports >three or more instances connected in a ethernet? > > >Any answers will be appreciated! > > > > >zhangyi >_______________________________________________ >gem5-dev mailing list >[email protected] >http://m5sim.org/mailman/listinfo/gem5-dev > -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
