Re: [PATCH 11/11] KVM: x86: add SMM to the MMU role, support SMRAM address space

From: Xiao Guangrong
Date: Wed May 20 2015 - 04:38:12 EST




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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/