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

Commit 568fccc4 authored by Alexander Graf's avatar Alexander Graf
Browse files

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: default avatarAlexander Graf <agraf@suse.de>
parent f6bf3a66
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;