Try starting qemu with the -redir option to redirect a particular port on the VM to the host machine.
So, for example "qemu/qemu-system-x86_64 -m 24576M -nographic -snapshot -drive cache=unsafe,file=<image name> -redir tcp:11211::11211" would redirect requests from port 11211 on the VM to port 11211 on the host machine. Akanksha On Sat, Oct 12, 2013 at 10:46 AM, 高珂 <[email protected]> wrote: > Thanks Paul, > > I'm using Marss to test netapps benchmarks in Parsec 3.0. When I ran > "parsecmgmt -a run -p netdedup -m server" on the simulator, > > and ran "parsecmgmt -a run -p netdedup -m client" on the host machine > according the instructions of this link: > > http://parsec.cs.princeton.edu/parsec3-doc.htm#simulation > > > > Everthing seemd OK , but both app got stuck there... I thought there > might be someting wrong with Marss's TCP/IP network. > > Why is there no active connections after server app starts running ? > > -----原始邮件----- > 发件人: "Paul Rosenfeld" <[email protected]> > 发送时间: 2013年10月11日 星期五 > 收件人: "高珂" <[email protected]> > 抄送: marss86-devel <[email protected]> > 主题: Re: [marss86-devel] How to config Tcp and Udp ports on the Marss ? > > > I'm not sure what you mean by "no TCP ports available", but netstat -ant is > just supposed to show you all active TCP connections (in your case, there > are no active TCP connections, listening or connected), but says nothing > about what ports are available. > > > On Fri, Oct 11, 2013 at 4:02 AM, 高珂 <[email protected]> wrote: >> >> >> Hi ,all. >> >> I’m using Tap to config the Network. When I ran "netstat -ant " on the >> Marss, I got the following message: >> ------------------------------------- >> Active Internet connections (servers and established) >> Proto Recv-Q Send-Q Local Address Foreign Address State >> ------------------------------------- >> >> It seemed there is no TCP ports avaiable, but My host machine and target >> simulator can ping each other through. >> >> Who can give me some hints? I'm not familiar with the Network Config on >> the Linux. Thanks a lot. >> >> >> >> >> >> _______________________________________________ >> http://www.marss86.org >> Marss86-Devel mailing list >> [email protected] >> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel >> > > > > > > > _______________________________________________ > http://www.marss86.org > Marss86-Devel mailing list > [email protected] > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel > -- Thanks, Akanksha Jain PhD Student Department of Computer Science University of Texas at Austin _______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
