WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Where is the code for passthrough a PCI device to a PV?
From: Jiang Wang <jwangzju@xxxxxxxxx>
Date: Sun, 22 Mar 2009 18:36:41 -0400
Delivery-date: Sun, 22 Mar 2009 15:37:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=yusjgq0dIT4AAUXS7iDo98xftsz0xPEZs9A2IRJqQI0=; b=hCS3VLBYtxjCGblHWCynGStf3eyNWFkGioFD6X/2oO8WTgFl9PRVMq4FJHJVyVlz1Z FOB6a42z+SDizijal+UiUnpSCMIMNQDvJUmhJizYsKMlmR0eBNil7eGS91Sfq+nw2P9W B4njhhYPClngT04/HfFLinVLMPZ79aYeSHT8s=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Where is the code for passthrough a PCI device to a PV?, Jiang Wang <=