Re: [Qemu-devel] Simulate different network card vendors

2014-01-22 Thread Stefan Hajnoczi
On Wed, Jan 22, 2014 at 06:30:42PM +0530, rajan pathak wrote: > But I don't know what are the steps to emulate it for QEMU. > > Would you suggest me some links where I can get some idea of how emulating > a Device for QEMU? Look at existing code in hw/net/*.c, for example e1000.c. Stefan

Re: [Qemu-devel] Simulate different network card vendors

2014-01-22 Thread rajan pathak
Thanks Stefan. I don't have source code of QEMU emulation of the network card? I do have the source code(driver code) of the devices the I wanted to emulate. Basically,Ethernet controller, I wanted to emulate has following two main part 1)Ethernet PHY 2)Ethernet MAC nd have driver code for t

Re: [Qemu-devel] Simulate different network card vendors

2014-01-21 Thread Stefan Hajnoczi
On Sat, Jan 18, 2014 at 09:19:43AM -0800, rajan pathak wrote: > I am looking forward to emulate single-chip Ethernet controller. > > I can find some of its source code online and it has two main part Ethernet > PHY (any 1GB SGMII compatible) > and Ethernet MAC . > > So ,DO I need to simply put th

Re: [Qemu-devel] Simulate different network card vendors

2014-01-18 Thread rajan pathak
Thanks Stefan for your kind response. I am OK with C programming and wrote couple of LKM related to FPGA device. But my understanding of QEMU is very limited. Let me ask some specific question on what I wanted to do. I am looking forward to emulate single-chip Ethernet controller. I can find s

Re: [Qemu-devel] Simulate different network card vendors

2014-01-15 Thread Stefan Hajnoczi
On Wed, Jan 15, 2014 at 01:27:41PM +0530, rajan pathak wrote: > I am new QEMU development and wanted to Simulate Atheros Network controller. > > > I am Running QEMU on x86 machine with underlaying network controller from > Broadcom and > compiled linux kernel based on ARM having Atheros driver s

[Qemu-devel] Simulate different network card vendors

2014-01-14 Thread rajan pathak
Hello All I am new QEMU development and wanted to Simulate Atheros Network controller. I am Running QEMU on x86 machine with underlaying network controller from Broadcom and compiled linux kernel based on ARM having Atheros driver support. I guess there must be mapping at QEMU level calls for