From: Zachary Amsden Subject: Re: [RFC, PATCH 1/24] i386 Vmi documentation Date: Wed, 22 Mar 2006 16:06:10 -0800 Message-ID: <4421E672.3040803@vmware.com> References: <200603131759.k2DHxeep005627@zach-dev.vmware.com> <200603222105.58912.ak@suse.de> <20060322213435.GI15997@sorel.sous-sol.org> <200603222213.45910.ak@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200603222213.45910.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org To: Andi Kleen Cc: Chris Wright , virtualization@lists.osdl.org, 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 List-Id: xen-devel@lists.xenproject.org Andi Kleen wrote: > Even then it's useless for many flags because any user program can (and will) > call CPUID directly. Turns out not to matter, since userspace can only make use of capabilities that are already available to userspace. If the feature bits for system features are visible to it, it doesn't really matter. Yes, this could be broken in some cases. But it turns out to be safe. Even sysenter support, which userspace does care about, is done via setting the vsyscall page up in the kernel, rather than userspace CPUID detection. > Sure the point was if they write this long fancy document why stop > at documenting the last 5%? > Because the last 5% is what is changing to meet Xen's needs. Why document something that you know you are going to break in a week? I chose to document the stable interfaces first.