From: Keir Fraser Subject: Re: which cpuid bits are exposed to pv guest OS and why? Date: Wed, 18 Nov 2009 22:32:44 +0000 Message-ID: References: <2a7458ad-5667-45a8-b5d1-f03a8d0450c8@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2a7458ad-5667-45a8-b5d1-f03a8d0450c8@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 18/11/2009 22:01, "Dan Magenheimer" wrote: > The "other" hypervisor reported these features that > Xen did not: vme, pse, mtrr, pge, mca, pse36, lm. > > Xen reported these features that the "other" hypervisor > did not: ht (only). None of these are really useful directly to userspace, so it probably doesn't matter much what gets advertised there. To the guest kernel, most of the above stuff is paravirtualised or unavailable to it: - VME: vm86 cpu feature - entirely unavailable on 64-bit Xen - PSE: superpage support - unavailable to pv guests by default - MTRR: MTRRs - paravirtualised, so native MSR interface unavailable - PGE: global-page pte flag - unavailable to pv guests - MCA: machine-check architecture - paravirtualised, native interface unavailable - PSE36: Like PSE - LM: 64-bit support - unavailable to 32-bit guests - HT: Hyperthreading/multicore - vCPU probe and bringup is paravirtualised (so a bit weird we expose this one, but doesn't matter really either way) -- Keir