From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH][RESEND] intel_txt: enable SMX flag for VMXON in KVM Date: Wed, 05 May 2010 11:12:03 +0300 Message-ID: <4BE12853.9040503@redhat.com> References: <1273055902-6923-1-git-send-email-shane.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hpa@zytor.com, mingo@elte.hu, joseph.cihula@intel.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org To: Shane Wang Return-path: Received: from mx1.redhat.com ([209.132.183.28]:31891 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932388Ab0EEIMs (ORCPT ); Wed, 5 May 2010 04:12:48 -0400 In-Reply-To: <1273055902-6923-1-git-send-email-shane.wang@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/05/2010 01:38 PM, Shane Wang wrote: > Per Intel SDM 3B 20.7, for IA32_FEATURE_CONTROL MSR > Bit 1 enables VMXON in SMX operation. If the bit is clear, execution of VMXON in SMX operation causes a general-protection exception. > Bit 2 enables VMXON outside SMX operation. If the bit is clear, execution of VMXON outside SMX operation causes a general-protection exception. > > This patch is to check the correct in/outside-SMX flag when detecting if VMX is disabled by BIOS, and to set in-SMX flag for VMXON after Intel TXT is launched in KVM. > > Already committed as 9d4b473eeea, I forgot to confirm, sorry. -- error compiling committee.c: too many arguments to function