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] [rfc 00/18] ioemu: use devfn instead of slots as the uni

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 05 Mar 2009 08:34:57 +0000
Cc: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Thu, 05 Mar 2009 00:35:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090304230513.GB1000@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmdHbCSgmdWb5b1QRiGVyJOWK4CTwAT5Mn6
Thread-topic: [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough
User-agent: Microsoft-Entourage/12.15.0.081119
On 04/03/2009 23:05, "Simon Horman" <horms@xxxxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>