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]xend: fix hotplug for integrated devices

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH]xend: fix hotplug for integrated devices
From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Date: Fri, 27 Mar 2009 09:50:47 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 26 Mar 2009 18:52:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090326213526.GH3769@xxxxxxxxxxxx>
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>
References: <EADF0A36011179459010BDF5142A45750FA04266@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090326052043.GF24011@xxxxxxxxxxxx> <EADF0A36011179459010BDF5142A45750FA04691@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090326213526.GH3769@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmuWsrAd0mGScHpTRyJW1f30lUTSQAIgifA
Thread-topic: [Xen-devel] [PATCH]xend: fix hotplug for integrated devices
Hi Simon,
One possible reason you don't meet with the issue is: your host and BIOS is new 
enough, so your USB controllers have the PCI Advanced Features that can be used 
to do FLR.
You can verify this by checking the PCI Capabilities List of your USB 
controllers: they should have a capability ID 0x13.
Please see tools/python/xen/util/pci.py (search for PCI_CAP_ID_AF, 
find_coassigned_devices) for details.

Thanks,
-- Dexuan



-----Original Message-----
From: Simon Horman [mailto:horms@xxxxxxxxxxxx] 
Sent: 2009年3月27日 5:35
To: Cui, Dexuan
Cc: Keir Fraser; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH]xend: fix hotplug for integrated devices

On Thu, Mar 26, 2009 at 01:28:33PM +0800, Cui, Dexuan wrote:
> Simon Horman wrote:
> > On Wed, Mar 25, 2009 at 06:12:03PM +0800, Cui, Dexuan wrote:
> >> For integrated devices(with bus number 0),  self.find_parent()
> >> returns None, causing a python exception here.  The patch adds the
> >> checking. 
> > 
> > Hi Dexuan,
> > 
> > I'm a little unsure what you mean by intergrated devices here.
> 
> Hi Simon,
> I mean the devices built with the motherboard.

Hi Dexuan,

Thanks for the clarification. Curiously I'm not seeing any problem
hotpluging any devices that a built into the mother board (e.g. USB
controller) that have a bus number of 0. Am I testing the wrong thing?

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>