Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932804AbWCVVq3 (ORCPT ); Wed, 22 Mar 2006 16:46:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932808AbWCVVq3 (ORCPT ); Wed, 22 Mar 2006 16:46:29 -0500 Received: from ns1.suse.de ([195.135.220.2]:19677 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S932804AbWCVVq2 (ORCPT ); Wed, 22 Mar 2006 16:46:28 -0500 From: Andi Kleen To: Chris Wright Subject: Re: [RFC, PATCH 1/24] i386 Vmi documentation Date: Wed, 22 Mar 2006 22:13:43 +0100 User-Agent: KMail/1.9.1 Cc: virtualization@lists.osdl.org, Zachary Amsden , Linus Torvalds , Linux Kernel 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 References: <200603131759.k2DHxeep005627@zach-dev.vmware.com> <200603222105.58912.ak@suse.de> <20060322213435.GI15997@sorel.sous-sol.org> In-Reply-To: <20060322213435.GI15997@sorel.sous-sol.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200603222213.45910.ak@suse.de> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1757 Lines: 42 On Wednesday 22 March 2006 22:34, Chris Wright wrote: > * Andi Kleen (ak@suse.de) wrote: > > On Monday 13 March 2006 18:59, Zachary Amsden wrote: > > > > > + The general mechanism for providing customized features and > > > + capabilities is to provide notification of these feature through > > > + the CPUID call, > > > > How should that work since CPUID cannot be intercepted by > > a Hypervisor (without VMX/SVM)? > > Yeah, it requires guest kernel cooperation/modification. Even then it's useless for many flags because any user program can (and will) call CPUID directly. > > > + The net result of these choices is that most of the calls are very > > > + easy to make from C-code, and calls that are likely to be required in > > > + low level trap handling code are easy to call from assembler. Most > > > + of these calls are also very easily implemented by the hypervisor > > > + vendor in C code, and only the performance critical calls from > > > + assembler paths require custom assembly implementations. > > > + > > > + CORE INTERFACE CALLS > > > > Did I miss it or do you never describe how to find these entry points? > > It's the ROM interface. For native they are emitted directly inline. > For non-native, they are emitted as call stubs, which call to the ROM. > I don't recall if it's in this doc, but the inline patch has all the > gory details. Sure the point was if they write this long fancy document why stop at documenting the last 5%? -Andi - 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/