From: Keir Fraser Subject: Re: [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough Date: Thu, 05 Mar 2009 08:34:57 +0000 Message-ID: References: <20090304230513.GB1000@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090304230513.GB1000@verge.net.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Simon Horman Cc: Yuji Shimada , "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org On 04/03/2009 23:05, "Simon Horman" wrote: > I am guessing that your idea was not for xend to allocate all > of those devfn and pass them to qemu-dm on the command line. That would be reasonable. Does xend need to know or care about the virtual devfn for any reason? > My instinct is that it would really be easier to allocate devn - > using something like the algorithm I describe below - in qemu-dm > rather than xend. The python version looks unfeasibly complicated. Perhaps this kind of thing is easier implemented in C? :-) -- Keir