linux/virt/kvm/arm/arm.c
/**
 * kvm_arch_vcpu_runnable - determine if the vcpu can be scheduled
 * @v:		The VCPU pointer
 *
 * If the guest CPU is not waiting for interrupts or an interrupt line is
 * asserted, the CPU is by definition runnable.
 */
determine if the vcpu can be scheduled
@v:          The VCPU pointer

If the guest CPU is not waiting for interrupts or an interrupt line is
asserted, the CPU is by definition runnable.
determine if the vcpu can be scheduled @v : The VCPU pointer If the guest CPU is not waiting for interrupts or an interrupt line is asserted the CPU is by definition runnable .
int kvm_arch_vcpu_runnable(struct kvm_vcpu *v)
{
	bool irq_lines = *vcpu_hcr(v) & (HCR_VI | HCR_VF);
	return ((irq_lines || kvm_vgic_vcpu_pending_irq(v))
		&& !v->arch.power_off && !v->arch.pause);
}
int kvm_arch_vcpu_runnable ( struct kvm_vcpu * v ) { bool irq_lines = * vcpu_hcr ( v ) & ( HCR_VI | HCR_VF ) ; return ( ( irq_lines || kvm_vgic_vcpu_pending_irq ( v ) ) && ! v -> arch . power_off && ! v -> arch . pause ) ; }
kvm_arch_vcpu_runnable - determine if the vcpu can be scheduled
 @v:          The VCPU pointer
kvm_arch_vcpu_runnable - determine if the vcpu can be scheduled @v : The VCPU pointer