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

From: Peter Zijlstra
Date: Wed Oct 20 2010 - 08:13:13 EST


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?

--
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/