diff options
author | Michael Mueller <mimu@linux.vnet.ibm.com> | 2014-02-26 10:14:17 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-02-26 11:31:59 -0500 |
commit | f87618e870d03ac114dd5496b23f6f628af54152 (patch) | |
tree | 1c976b3feaf27108bfa03eae9fc6c7250511c397 /arch/s390/kvm | |
parent | d3714010c307d26df251c45be9cd12ab6d41f0c4 (diff) |
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>
Diffstat (limited to 'arch/s390/kvm')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index a5da2cc798c8..18959bb75c51 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c | |||
@@ -483,9 +483,7 @@ out: | |||
483 | 483 | ||
484 | int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) | 484 | int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) |
485 | { | 485 | { |
486 | /* kvm common code refers to this, but never calls it */ | 486 | return kvm_cpu_has_interrupt(vcpu); |
487 | BUG(); | ||
488 | return 0; | ||
489 | } | 487 | } |
490 | 488 | ||
491 | void s390_vcpu_block(struct kvm_vcpu *vcpu) | 489 | void s390_vcpu_block(struct kvm_vcpu *vcpu) |