diff options
author | Alexander Graf <agraf@suse.de> | 2014-06-16 10:37:38 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-07-28 09:22:12 -0400 |
commit | 568fccc43f901889b94b228cd0238916cb40e0bd (patch) | |
tree | 649342cc458b5390f5d5cb50f594ef1a182d0049 /arch | |
parent | f6bf3a66227447f89f25b9db0ae39357decf2509 (diff) |
KVM: PPC: Book3S PR: Handle hyp doorbell exits
If we're running PR KVM in HV mode, we may get hypervisor doorbell interrupts.
Handle those the same way we treat normal doorbells.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kvm/book3s_pr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index 8ea7da4b5649..3b82e8616dfa 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++ b/arch/powerpc/kvm/book3s_pr.c | |||
@@ -988,6 +988,7 @@ int kvmppc_handle_exit_pr(struct kvm_run *run, struct kvm_vcpu *vcpu, | |||
988 | case BOOK3S_INTERRUPT_DECREMENTER: | 988 | case BOOK3S_INTERRUPT_DECREMENTER: |
989 | case BOOK3S_INTERRUPT_HV_DECREMENTER: | 989 | case BOOK3S_INTERRUPT_HV_DECREMENTER: |
990 | case BOOK3S_INTERRUPT_DOORBELL: | 990 | case BOOK3S_INTERRUPT_DOORBELL: |
991 | case BOOK3S_INTERRUPT_H_DOORBELL: | ||
991 | vcpu->stat.dec_exits++; | 992 | vcpu->stat.dec_exits++; |
992 | r = RESUME_GUEST; | 993 | r = RESUME_GUEST; |
993 | break; | 994 | break; |