Re: [PATCH v7 08/12] Handle async PF in a guest.

Peter Zijlstra
2010-10-20T11:53:31Z

On Wed, 2010-10-20 at 13:48 +0200, Jan Kiszka wrote:
> > + case KVM_PV_REASON_PAGE_READY:
> > + svm->apf_reason = 0;
> > + local_irq_disable();
> > + kvm_async_pf_task_wake(fault_address);
> > + local_irq_enable();
> > + break;
>
> That's only available if CONFIG_KVM_GUEST is set, no? Is there anything
> I miss that resolves this dependency automatically? Otherwise, some more
> #ifdef CONFIG_KVM_GUEST might be needed.

Could you please trim your replies?