From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yosuke Iwamatsu Subject: Re: [PATCH] Improve the current FLR logic Date: Thu, 17 Jul 2008 20:06:03 +0900 Message-ID: <487F279B.6090307@ab.jp.nec.com> References: <487C2222.5030703@ab.jp.nec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Cui, Dexuan" Cc: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org Cui, Dexuan wrote: > Thanks for your comments! > > For case 2) or 4), I think we might as well force the domain config file specifying all the related devices. Specifying all the related devices means allowing the domain to use them all, but there may be a case that people want to limit devices available to guests. (Suppose there is a device that has several functions without FLR and the administrator wants to let the guest domain use only one function, for example.) > > xm_pci_list_assignable_devices() does access to sysfs and invoke hypercall directly. > With respect to xmlrpc, I'm trying to move most of the function to xend. > > I think xm_pci_list_assignable_devices only considers iommu devices. Maybe we can extend it to non-iommu devices in future. > Thank you, -- Yosuke