Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f87618e8 authored by Michael Mueller's avatar Michael Mueller Committed by Paolo Bonzini
Browse files

KVM: s390: implementation of kvm_arch_vcpu_runnable()



A vcpu is defined to be runnable if an interrupt is pending.

Signed-off-by: default avatarMichael Mueller <mimu@linux.vnet.ibm.com>
Reviewed-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent d3714010
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -483,9 +483,7 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm,

int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu)
{
	/* kvm common code refers to this, but never calls it */
	BUG();
	return 0;
	return kvm_cpu_has_interrupt(vcpu);
}

void s390_vcpu_block(struct kvm_vcpu *vcpu)