From: "Jan Beulich" Subject: Re: Bug: Xen panics with #UD in acpi_processor_idle() Date: Mon, 22 Nov 2010 14:04:23 +0000 Message-ID: <4CEA86770200007800023A74@vpn.id2.novell.com> References: <20101122130207.GD11110@email> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20101122130207.GD11110@email> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Rafal Wojtczuk , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> On 22.11.10 at 14:02, Rafal Wojtczuk = wrote: > Somehow offtopic: what is the purpose of cheating about > MSR_IA32_MISC_ENABLE_MONITOR_ENABLE state to dom0 in rdmsr emulation ? > xen-4.0-testing.hg/xen/arch/x86/traps.c:2364 > case MSR_IA32_MISC_ENABLE: > if ( rdmsr_safe(regs->ecx, regs->eax, regs->edx) ) > goto fail; > regs->eax &=3D ~(MSR_IA32_MISC_ENABLE_PERF_AVAIL | > MSR_IA32_MISC_ENABLE_MONITOR_ENABLE); > regs->eax |=3D MSR_IA32_MISC_ENABLE_BTS_UNAVAIL | > MSR_IA32_MISC_ENABLE_PEBS_UNAVAIL | > MSR_IA32_MISC_ENABLE_XTPR_DISABLE;=20 > break; This is dealing with bits corresponding to features no domain should use (directly). Jan