From: Simon Horman Subject: Re: [PATCH] xend: Update info['platform']['pci'] Date: Thu, 28 May 2009 20:46:31 +1000 Message-ID: <20090528104631.GA6570@verge.net.au> References: <78C9DF622C5003kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <78C9DF622C5003kanno.masaki@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Masaki Kanno Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, May 28, 2009 at 04:01:50PM +0900, Masaki Kanno wrote: Content-Description: Mail message body > Hi, > > This patch updates info['platform']['pci'] for PCI devices assignment > to domains. > > When a domain is started, xend confirms by using xc.test_assign_device > whether PCI devices can be assigned to the domain. > For the confirmation, info['platform']['pci'] must be an appropriate > value. However, info['platform']['pci'] may be not appropriate. > Because info['platform']['pci'] isn't almost always updated even if > the PCI device configuration of the domain was changed by using > xm pci-attach/detach. > This patch updates info['platform']['pci'] to the appropriate value > when domains are started. Hi Kanno-san, I am curious to know how you exercise this code. Did you notice a bug under some conditions?