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

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


  • To: xen-user <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: jiang wang <jwangzju@xxxxxxxxxxxx>
  • Date: Tue, 24 Mar 2009 23:15:59 +0800 (CST)
  • Delivery-date: Tue, 24 Mar 2009 08:16:47 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=h6iHNV19f4MxuK8/O7PL9Qm7nhanRFCUVUu5za+hWuBNYKozmlOmwDbBFJCwS4wEKxj62RVoEA/c/3VI+0LslozaJlbJG4OT6dmwQu3eGqTFj+13ugmCZlrKMpgodFhXfvrpePrabwvP2sNABZikZ85Gc5Nu4QNmOGbaFcWZVI8=;
  • List-id: Xen user discussion <xen-users.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-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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