diff options
author | Alexander Graf <agraf@suse.de> | 2014-06-16 16:37:38 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-07-28 15:22:12 +0200 |
commit | 568fccc43f901889b94b228cd0238916cb40e0bd (patch) | |
tree | 649342cc458b5390f5d5cb50f594ef1a182d0049 /arch/powerpc/kvm/book3s_pr.c | |
parent | f6bf3a66227447f89f25b9db0ae39357decf2509 (diff) | |
download | blackbird-op-linux-568fccc43f901889b94b228cd0238916cb40e0bd.tar.gz blackbird-op-linux-568fccc43f901889b94b228cd0238916cb40e0bd.zip |
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/powerpc/kvm/book3s_pr.c')
-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, case BOOK3S_INTERRUPT_DECREMENTER: case BOOK3S_INTERRUPT_HV_DECREMENTER: case BOOK3S_INTERRUPT_DOORBELL: + case BOOK3S_INTERRUPT_H_DOORBELL: vcpu->stat.dec_exits++; r = RESUME_GUEST; break; |