From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH] xen: provide pse36 cpuid bit Date: Thu, 27 Oct 2011 16:30:39 +0200 Message-ID: <4EA96B0F.4070607@amd.com> References: <4EA94A37.7000700@amd.com> <20111027140607.GL59656@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111027140607.GL59656@ocelot.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 10/27/11 16:06, Tim Deegan wrote: > At 14:10 +0200 on 27 Oct (1319724631), Christoph Egger wrote: >> >> Provide pse36 cpuid bit if guest runs in 32bit PAE >> or in long mode. Hyper-V refuses to start as >> the "cpu does not provide required hw features" >> if it does not find the pse36 cpuid bits. >> >> Signed-off-by: Christoph Egger > > This patch appears to advertise PSE36 support to guests without actually > supporting PSE36. Or am I missing something? That's right. The paging format differs only in 32bit legacy mode. Since Hyper-V is not running in 32bit legacy mode but insists on having these cpuid bits present it is sufficient to just populate them to the guest when guest paging mode != 32bit legacy mode. Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632