Re: [PATCH v3 1/3] KVM: Fix leak vCPU's VMCS value into other pCPU

From: Wanpeng Li
Date: Sun Aug 04 2019 - 22:04:32 EST


On Sat, 3 Aug 2019 at 14:41, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
>
> On 02/08/19 02:46, Wanpeng Li wrote:
> > Thanks for reporting this, after more grep, it seems that just x86 and
> > s390 enable async_pf in their Makefile. So I can move 'if
> > (!list_empty_careful(&vcpu->async_pf.done))' checking to
> > kvm_arch_dy_runnable()
>
> No, wrap it with #ifdef CONFIG_KVM_ASYNC_PF instead. Thanks!

Ok, handle all the comments in v4. :)

Regards,
Wanpeng Li