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-merge

Re: [Xen-merge] FW: vmware's virtual machine interface

To: Andi Kleen <ak@xxxxxxx>, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-merge] FW: vmware's virtual machine interface
From: "Martin J. Bligh" <mbligh@xxxxxxxxxx>
Date: Mon, 08 Aug 2005 14:16:39 -0700
Cc: xen-merge <xen-merge@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 08 Aug 2005 21:14:51 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050808203756.GE26249@xxxxxxxxxxxxx>
List-help: <mailto:xen-merge-request@lists.xensource.com?subject=help>
List-id: xen-merge <xen-merge.lists.xensource.com>
List-post: <mailto:xen-merge@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-merge>, <mailto:xen-merge-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D2829F9@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <20050808203756.GE26249@xxxxxxxxxxxxx>
Reply-to: "Martin J. Bligh" <mbligh@xxxxxxxxxx>
Sender: xen-merge-bounces@xxxxxxxxxxxxxxxxxxx

--On Monday, August 08, 2005 22:37:57 +0200 Andi Kleen <ak@xxxxxxx> wrote:

> On Mon, Aug 08, 2005 at 09:03:21PM +0100, Ian Pratt wrote:
>>  
>> Folks, there's been some disucssion about the VMI interface proposal
>> between myself and Linus/Andrew. I've appeneded my latest reply.
>> 
>> As regards the VMI proposal itself, I don't think I can forward it, so
>> if you don't have it you'd better ask Pratap Subrahmanyam
>> [pratap@xxxxxxxxxx] for it directly.
> 
> FWIW i agree with most of your points.
> 
>> [*]Having a single kernel image that works native and on a hypervisor is
>> quite convenient from a user POV. We've looked into addressing this
>> problem in a different way, by building multiple kernels and then using
>> a tool that does a function-by-function 'union' operation, merging the
>> duplicates and creating a re-write table that can be used to patch the
>> kernel from native to Xen. This approach has no run time overhead, and
>> is entirely 'mechanical' rather than having to having to do it as source
>> level that can be both tricky and messy.
> 
> That sounds incredibly ugly. In particular it will make building
> kernels very messy, which is a bad thing.

Ian, did you look at the generic subarch, and see how that works? Not
sure if that's what you mean or not - may arrive at the same end, but
by an easier path?

If we use function pointers, and do so at a high enough abstraction
level, I don't think the perf impact is too bad. there's always the
possiblity to rewrite some of the code on the fly like the cpu code,
just to shortcut those branches (though with branch prediction on
modern chips, it may not do much). I *think* that's equivalent to
what you're saying above ... but takes away the scary bit about
"multiple kernels" ;-)

M.


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