Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753047AbbETIiG (ORCPT ); Wed, 20 May 2015 04:38:06 -0400 Received: from mga03.intel.com ([134.134.136.65]:18580 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751960AbbETIiD (ORCPT ); Wed, 20 May 2015 04:38:03 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,464,1427785200"; d="scan'208";a="495949888" Message-ID: <555C4716.3060002@linux.intel.com> Date: Wed, 20 May 2015 16:34:30 +0800 From: Xiao Guangrong User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org CC: rkrcmar@redhat.com, bdas@redhat.com Subject: Re: [PATCH 11/11] KVM: x86: add SMM to the MMU role, support SMRAM address space References: <1431956923-35602-1-git-send-email-pbonzini@redhat.com> <1431956923-35602-12-git-send-email-pbonzini@redhat.com> In-Reply-To: <1431956923-35602-12-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 507 Lines: 16 On 05/18/2015 09:48 PM, Paolo Bonzini wrote: > @@ -5473,6 +5473,7 @@ void kvm_set_hflags(struct kvm_vcpu *vcpu, unsigned emul_flags) > } > > vcpu->arch.hflags = emul_flags; > + kvm_mmu_reset_context(vcpu); reset root table only if SMM flag is changed? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/