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

RE: [Xen-devel] [PATCH][2/4] PCI Driver Domains: PCI Backend/Frontend

To: "Dave Thompson (davetho)" <davetho@xxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH][2/4] PCI Driver Domains: PCI Backend/Frontend
From: Ryan <hap9@xxxxxxxxxxxxxx>
Date: Mon, 06 Feb 2006 15:08:26 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 06 Feb 2006 20:19:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <5440A5A36B8CED4B9F54524343CB6B6801381AF2@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <5440A5A36B8CED4B9F54524343CB6B6801381AF2@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Dave,

Thanks for spotting that. I believe those were incorrectly moved when I
was correcting some coding style issues. I'm preparing a new patch
against xen-unstable (to include the recent Linux 2.6.16-rc2 import into
the tree) which I hope to post in the next few days. I'll include this
fix in that patch.

Ryan

On Mon, 2006-02-06 at 13:45 -0500, Dave Thompson (davetho) wrote:
> Ryan,
> 
> I found a bug in this patch.  The function pciback_publish_pci_roots()
> added in the file linux-2.6-xen-sparse/drivers/xen/pciback/passthrough.c
> sets the local variables domain and bus using the dev_entry pointer
> which is uninitialized at this point.  The two lines which set these
> variables should be moved down so that they are within the
> list_for_each_entry loop.
> 
> FYI,
> Dave Thompson
> 
> > -----Original Message-----
> > From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> > [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ryan
> > Sent: Monday, January 30, 2006 7:24 AM
> > To: xen-devel
> > Subject: [Xen-devel] [PATCH][2/4] PCI Driver Domains: PCI 
> > Backend/Frontend
> > 
> > This patch contains the PCI backend and frontend drivers for Linux
> > 2.6.12. There are a couple of compile-time options in the backend and
> > frontend although the defaults should be sufficient to get you up and
> > running.
> > 
> 


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