From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [BUG] kvm: guest can not startup due to triple fault Date: Tue, 19 Oct 2010 08:31:12 -0700 Message-ID: References: <4CBAE8E2.1060704@redhat.com> <4CBBF3C8.9070104@web.de> <4CBC1047.6010501@redhat.com> <20101018125803.GA2497@darkstar> <4CBC4B06.3030300@redhat.com> <20101018134508.GA11885@darkstar> <4CBC4FA9.90406@redhat.com> <4CBC5097.1020105@redhat.com> <20101018135813.GA20316@darkstar> <4CBC547A.8080700@redhat.com> <4CBC964B.6000605@zytor.com> <4CBD099D.2060500@zytor.com> <4CBD5D8F.6020505@redhat.com> <4CBDB38E.7090801@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Dave Young , Ingo Molnar , Jan Kiszka , kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Avi Kivity Return-path: In-Reply-To: <4CBDB38E.7090801@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org That would probably be a good idea. The kernel also sets and clears bits for various errata or other special issues. "Avi Kivity" wrote: > On 10/19/2010 04:56 PM, H. Peter Anvin wrote: >> Right... note in particular that the BIOS sets them up inconsistently. The kernel is doing the rufht thing: since NX isn't available on all processors it is considered unavailable. > >I guess kvm should be modified to mask GET_SUPPORTED_CPUID results with >the boot_cpu features. This will make kvm take advantage of the core >kernel doing the right thing. > -- Sent from my mobile phone. Please pardon any lack of formatting.