From: Keir Fraser Subject: Re: CONFIG_XEN_COMPAT_030002 broken? Date: Tue, 14 Nov 2006 12:42:19 +0000 Message-ID: References: <4559C55D.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4559C55D.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , Keir Fraser Cc: Gerd Hoffmann , Xen devel list List-Id: xen-devel@lists.xenproject.org On 14/11/06 12:32, "Jan Beulich" wrote: >> Oh, good point! Okay then the more straightforward XENVER_version check will >> have to be used: 3.0.3 and newer, versus 3.0.2 and older. > > More strait forward? The .3 is part of extraversion, so in order to do a > comparison > one would have to parse that string (and hence make certain assumptions). > That's > not nice for use in (early) feature detection. Maybe it'd be better to try and > write > a page table entry without PAGE_USER, and check whether that bit got turned > on implicitly... Yes, that sounds reasonable. -- Keir