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-users

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

To: xen-user <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Where is the code for passthrough a PCI device to a PV?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1237907759; bh=P6gtyWcjxoGfMzXbvaLN+DQruJDmzUEL/SSfIDCOgok=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=iE2dn+Z2zyYgmY8kwMKyPXtWjktaPiMngU39lw6sfdMk4yu0mwKxJfoWyP1F6ot0D0P+0y5Dns1noSuMr8E0VZOFXDjEcqXW/xEyUXsAuXNPoNPB9adRz7STGAFzWUrPqrvJhMZOn6IZkQSgrRiaXBefas7wUUvuFgnRD7W0QMs=
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=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-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-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Where is the code for passthrough a PCI device to a PV?, jiang wang <=