From: Simon Horman Subject: Re: [PATCH] Fix xm pci-list for inactive managed domains Date: Thu, 14 May 2009 13:40:04 +1000 Message-ID: <20090514034004.GH3802@verge.net.au> References: <53C9D43D715C02kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <53C9D43D715C02kanno.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 14, 2009 at 11:41:11AM +0900, Masaki Kanno wrote: Content-Description: Mail message body > Hi, > > I found a problem of xm pci-list. In inactive managed domains, > I cannot confirm virtual slot numbers of PCI devices by using > xm pci-list as follows. In fact, I can confirm virtual slot > numbers of PCI devices by using xm pci-list if active domains. Hi Kanno-san, I'm a bit dubious about using requested_vslot if vslot isn't present, because as the name suggests, its just a request, that may fail. However, I do conceede that it is probably the best option available if you are not happy with the vslot not being reported in this case. Is there really a need for the slot to be reported in this case?