Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932556AbWCOWwi (ORCPT ); Wed, 15 Mar 2006 17:52:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932554AbWCOWwi (ORCPT ); Wed, 15 Mar 2006 17:52:38 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:10150 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S932552AbWCOWwh (ORCPT ); Wed, 15 Mar 2006 17:52:37 -0500 Date: Wed, 15 Mar 2006 23:52:12 +0100 From: Pavel Machek To: Zachary Amsden Cc: Linus Torvalds , Linux Kernel Mailing List , Virtualization Mailing List , Xen-devel , Andrew Morton , Dan Hecht , Dan Arai , Anne Holler , Pratap Subrahmanyam , Christopher Li , Joshua LeVasseur , Chris Wright , Rik Van Riel , Jyothy Reddy , Jack Lo , Kip Macy , Jan Beulich , Ky Srinivasan , Wim Coekaerts , Leendert van Doorn Subject: Re: [RFC, PATCH 4/24] i386 Vmi inline implementation Message-ID: <20060315225212.GB1719@elf.ucw.cz> References: <200603131802.k2DI22OK005657@zach-dev.vmware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200603131802.k2DI22OK005657@zach-dev.vmware.com> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1104 Lines: 22 On Po 13-03-06 10:02:02, Zachary Amsden wrote: > Macros to use VMI calls from assembly and C languages are introduced. > The macros are quite complex, but the end result is rather impressive. > The result is that when compiling a VMI kernel, the native code is > emitted inline, with no function call overhead, and some wiggle room > for register allocation. The hypervisor compatibility code is emitted > out of line into a separate section, and patched dynamically during the > process of preparing the kernel for boot. In the end, this task is > envisioned as being done by a loader agent outside of the kernel proper, > allowing for a completely transparent kernel start of day. We already do runtime patching for SMP vs. UP, could you use same infrastructure? I do not want VMI-specific grub. Pavel -- 42: i < SampleTable.Length; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/