From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH] KVM: x86: Call vcpu_load and vcpu_put in cpuid_update. Date: Wed, 12 May 2010 16:24:58 -0300 Message-ID: <20100512192458.GC3308@amt.cnet> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "kvm@vger.kernel.org" , Avi Kivity To: "Xu, Dongxiao" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:19727 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751467Ab0ELUFs (ORCPT ); Wed, 12 May 2010 16:05:48 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Tue, May 11, 2010 at 06:21:33PM +0800, Xu, Dongxiao wrote: > From: Dongxiao Xu > > cpuid_update may operate VMCS, so vcpu_load() and vcpu_put() > should be called to ensure correctness. > > Signed-off-by: Dongxiao Xu > --- > arch/x86/kvm/x86.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) Applied, thanks.