aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kvm/book3s.c')
-rw-r--r--arch/powerpc/kvm/book3s.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c
index 6416f227d345..8cb9f5a67464 100644
--- a/arch/powerpc/kvm/book3s.c
+++ b/arch/powerpc/kvm/book3s.c
@@ -639,6 +639,10 @@ static int kvmppc_handle_ext(struct kvm_vcpu *vcpu, unsigned int exit_nr,
639 u64 *thread_fpr = (u64*)t->fpr; 639 u64 *thread_fpr = (u64*)t->fpr;
640 int i; 640 int i;
641 641
642 /* When we have paired singles, we emulate in software */
643 if (vcpu->arch.hflags & BOOK3S_HFLAG_PAIRED_SINGLE)
644 return RESUME_GUEST;
645
642 if (!(vcpu->arch.msr & msr)) { 646 if (!(vcpu->arch.msr & msr)) {
643 kvmppc_book3s_queue_irqprio(vcpu, exit_nr); 647 kvmppc_book3s_queue_irqprio(vcpu, exit_nr);
644 return RESUME_GUEST; 648 return RESUME_GUEST;