Re: [RFC PATCH v2 7/7] KVM: KVM: don't break vcpu 'halt' state due to apfs

Xiao Guangrong
2010-11-02T09:26:08Z

On 11/02/2010 05:14 PM, Gleb Natapov wrote:

> If irqchip is in userspace apf is disabled (see mmu.c:can_do_async_pf()).
> The reason for this is that when irqchip_in_kernel(v->kvm) cpu sleeps in
> userspace during halt, so all event that can cause it to be unhalted
> should be generated in userspace too. This is also the reason you can't have
> pit in kernel and irqchip in userpsace.
>

Oh, thank you very much for answering so many questions, and your patch is
looks good for me! ;-)