From: Tim Deegan Subject: Re: nested virtualization: cpuid PSE36 Date: Fri, 9 Sep 2011 13:43:36 +0100 Message-ID: <20110909124336.GB93737@ocelot.phlegethon.org> References: <4E69FDBA.6090409@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <4E69FDBA.6090409@amd.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: Christoph Egger Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org cc-ing xen-devel. Hi, At 13:51 +0200 on 09 Sep (1315576282), Christoph Egger wrote: > I am trying to get Hyper-V up and running as l1 hypervisor. > It claims the cpu does not provide the > required feature: leaf 0x1, edx, bit 17 (= PSE36). Huh. Is this 32-bit Hyper-V? If it's only needed for 32-bit then it's not so important (32-bit Hyper-V is going away in Win8 anyway). I wonder if it's actually used - I guess if you don't need 4k protection granularity for high mappings then it saves on pagetable space and TLB pressure. > Xen does indeed not propagate this feature bit to the l1 guest. > > What do you think how should this be done to support this feature bit > for the hap case? I think that for HAP it would be enough to add support to the guest_walk.c page walker (and gate the cpuid bit so we never advertise it to shadow-paging guests). It shouldn't be hard to add it to the shadow pagetables either; it was just never needed before. Cheers, Tim.