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

From: Paolo Bonzini
Date: Sat Aug 03 2019 - 02:41:31 EST


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!

Paolo