From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59467 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Olo1l-0004jA-Pq for qemu-devel@nongnu.org; Wed, 18 Aug 2010 15:10:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Olo1k-0004DV-8D for qemu-devel@nongnu.org; Wed, 18 Aug 2010 15:10:21 -0400 Received: from smtp.mailix.net ([66.11.225.183]:26955) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Olo1k-0004Cs-13 for qemu-devel@nongnu.org; Wed, 18 Aug 2010 15:10:20 -0400 From: "Adnan Khaleel" Message-ID: <20100818191010.87d50a95@shadowfax.no-ip.com> Date: Wed, 18 Aug 2010 14:10:10 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-----------bcad05aeb8ef29f443434f2c7728e896" Subject: [Qemu-devel] Template for developing a Qemu device with PCIe and MSI-X Reply-To: adnan@khaleel.us List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. -------------bcad05aeb8ef29f443434f2c7728e896 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Qemu developers, I'm interested in developing a device model that plugs into Qemu that is= based on a PCIe interface and uses MSI-X. My goal is to ultimately atta= ch a GPU simulator to this PCIe interface and use the entire platfom (Qe= mu + GPU simulator) for studying cpu, gpu interactions. I'm not terribly familiar with the Qemu device model and I'm looking for= some assistance, perhaps a starting template for pcie and msi-x that wo= uld offer the basic functionality that I could then build upon.=20 I have looked at the various devices that already modelled that are incl= uded with Qemu (v0.12.5 at least) and I've noticed several a few pci dev= ices, eg; ne2k and cirrus-pci etc, however only one device truly seems t= o utilize both the technologies that I'm interested in and that is the v= irtio-pci.c I'm not sure what virtio-pci does so I'm not sure if that is a suitable = starting point for me.=20 Any help, suggestions etc would be extremely helpful and much appreciate= d. Sincerely, AK -------------bcad05aeb8ef29f443434f2c7728e896 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello Qemu developers,

I'm inter= ested in developing a device model that plugs into Qemu that is based on= a PCIe interface and uses MSI-X. My goal is to ultimately attach a GPU = simulator to this PCIe interface and use the entire platfom (Qemu + GPU = simulator) for studying cpu, gpu interactions.

I'm not terribly f= amiliar with the Qemu device model and I'm looking for some assistance, = perhaps a starting template for pcie and msi-x that would offer the basi= c functionality that I could then build upon.

I have looked at t= he various devices that already modelled that are included with Qemu (v0= .12.5 at least) and I've noticed several a few pci devices, eg; ne2k and= cirrus-pci etc, however only one device truly seems to utilize both the= technologies that I'm interested in and that is the virtio-pci.c
I'm not sure what virtio-pci does so I'm not sure if that is a suitable= starting point for me.

Any help, suggestions etc would be extre= mely helpful and much appreciated.

Sincerely,

AK
= -------------bcad05aeb8ef29f443434f2c7728e896--