From: Nadav Har'El Subject: Re: [PATCH] KVM: Enable VMX-related bits in MSR_IA32_FEATURE_CONTROL. Date: Tue, 6 Mar 2012 19:33:08 +0200 Message-ID: <20120306173308.GA20590@fermat.math.technion.ac.il> References: <1331046141-11101-1-git-send-email-js@alien8.de> <4F5629A0.8060209@redhat.com> <20120306154738.GA15125@fermat.math.technion.ac.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Julian Stecklina , kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mailgw12.technion.ac.il ([132.68.225.12]:45791 "EHLO mailgw12.technion.ac.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755326Ab2CFRdQ (ORCPT ); Tue, 6 Mar 2012 12:33:16 -0500 Content-Disposition: inline In-Reply-To: <20120306154738.GA15125@fermat.math.technion.ac.il> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Mar 06, 2012, Nadav Har'El wrote about "Re: [PATCH] KVM: Enable VMX-related bits in MSR_IA32_FEATURE_CONTROL.": > 2. handle_vmon() does not check the previous setting of this MSR. > If the guest (or its BIOS) doesn't set both FEATURE_CONTROL_LOCKED > and FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX, it should get a By the way, am I right in my understanding that KVM doesn't support SMX in the guest? I didn't see mention of CR4.SMXE or a GETSEC exit handler, which is why I'm assuming that it doesn't... If this assumption isn't true, I'll also need to worry about the ..._INSIDE_SMX case. -- Nadav Har'El | Tuesday, Mar 6 2012, nyh@math.technion.ac.il |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |When you handle yourself, use your head; http://nadav.harel.org.il |when you handle others, use your heart.