[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Where is the code for passthrough a PCI device to a PV?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Jiang Wang <jwangzju@xxxxxxxxx>
  • Date: Sun, 22 Mar 2009 18:36:41 -0400
  • Delivery-date: Sun, 22 Mar 2009 15:37:08 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=XMIQ1LdrlzWrG8DYHVIiob8Mbmfl21Xkeu+kwdBXLDbTLRmrVzX0yaLe44ddORQI9x y8hV1CPOdzqJMdY5D3hwqsqNJ6aea6YS3LxpjfWKzWM8YRBjCuYq4fSRAMePuYGwL1m1 pSpNtpfPLxig1RltBQC6wjs6nt00r8f/ukpGM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi:

I am trying to understand the code for passthrough a PCI device to a
PV on i386 CPU. What code should I read? I know that
linux-xen\drivers\xen\pciback and pcifront is the backend and the
frontend for the PCI bus. But I think there should be some other code
to allow a domU to access the real device, right?
I found some code in xen/common/domctrl.c which do the access control
for the io memory. Is that all?
What happened when I use a PCI option for "xm create" command to
pass-through the device? Where is the code for starting a domU?
Thanks.

Regards,

Jiang

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.