mirror of
https://github.com/torvalds/linux
synced 2024-10-02 09:18:22 +00:00
KVM: s390: implementation of kvm_arch_vcpu_runnable()
A vcpu is defined to be runnable if an interrupt is pending. Signed-off-by: Michael Mueller <mimu@linux.vnet.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d3714010c3
commit
f87618e870
|
@ -483,9 +483,7 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm,
|
||||||
|
|
||||||
int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu)
|
int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu)
|
||||||
{
|
{
|
||||||
/* kvm common code refers to this, but never calls it */
|
return kvm_cpu_has_interrupt(vcpu);
|
||||||
BUG();
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void s390_vcpu_block(struct kvm_vcpu *vcpu)
|
void s390_vcpu_block(struct kvm_vcpu *vcpu)
|
||||||
|
|
Loading…
Reference in a new issue