aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/emulate.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
-rw-r--r--arch/powerpc/kvm/emulate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c
index 11789dd33a13..2410ec2a756a 100644
--- a/arch/powerpc/kvm/emulate.c
+++ b/arch/powerpc/kvm/emulate.c
@@ -486,7 +486,9 @@ int kvmppc_emulate_instruction(struct kvm_run *run, struct kvm_vcpu *vcpu)
486 486
487 if (emulated == EMULATE_FAIL) { 487 if (emulated == EMULATE_FAIL) {
488 emulated = kvmppc_core_emulate_op(run, vcpu, inst, &advance); 488 emulated = kvmppc_core_emulate_op(run, vcpu, inst, &advance);
489 if (emulated == EMULATE_FAIL) { 489 if (emulated == EMULATE_AGAIN) {
490 advance = 0;
491 } else if (emulated == EMULATE_FAIL) {
490 advance = 0; 492 advance = 0;
491 printk(KERN_ERR "Couldn't emulate instruction 0x%08x " 493 printk(KERN_ERR "Couldn't emulate instruction 0x%08x "
492 "(op %d xop %d)\n", inst, get_op(inst), get_xop(inst)); 494 "(op %d xop %d)\n", inst, get_op(inst), get_xop(inst));