From: Pavel Machek Subject: Re: [RFC, PATCH 4/24] i386 Vmi inline implementation Date: Wed, 15 Mar 2006 23:52:12 +0100 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 Return-path: Content-Disposition: inline In-Reply-To: <200603131802.k2DI22OK005657@zach-dev.vmware.com> Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: xen-devel@lists.xenproject.org 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;