Re: [Android-virt] [PATCH v5 10/13] ARM: KVM: Guest wait-for-interrupts (WFI) support

2011-12-13 Thread Avi Kivity
On 12/12/2011 09:21 PM, Christoffer Dall wrote: well, if we block, but receive a signal that we want to go back into userspace for, and then come back but the guest should still be waiting, then I want that flag set, and I think it's the most logical control flow. Am I missing something

Re: [Android-virt] [PATCH v5 10/13] ARM: KVM: Guest wait-for-interrupts (WFI) support

2011-12-12 Thread Christoffer Dall
On Mon, Dec 12, 2011 at 12:44 PM, Avi Kivity a...@redhat.com wrote: On 12/12/2011 06:20 PM, Christoffer Dall wrote: +/** + * kvm_handle_wfi - handle a wait-for-interrupts instruction executed by a guest + * @vcpu:    the vcpu pointer + * @run:     the kvm_run structure pointer + *