Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343469
b: refs/heads/master
c: 3766a4c
h: refs/heads/master
i:
  343467: 106e374
v: v3
  • Loading branch information
Alexander Graf committed Oct 5, 2012
1 parent 0f044ab commit fd044fd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bd2be6836ee493d41fe42367a2b129aa771185c1
refs/heads/master: 3766a4c693358cff33441310413e3776dbbf8ef0
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/kvm/book3s_pr.c
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,6 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
run->exit_reason = KVM_EXIT_INTR;
r = -EINTR;
} else {
/* Going back to guest */
kvm_guest_enter();
kvmppc_lazy_ee_enable();
}
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/kvm/booke.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,8 +954,6 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
r = (-EINTR << 2) | RESUME_HOST | (r & RESUME_FLAG_NV);
kvmppc_account_exit(vcpu, SIGNAL_EXITS);
} else {
/* Going back to guest */
kvm_guest_enter();
kvmppc_lazy_ee_enable();
}
}
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/kvm/powerpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,15 @@ int kvmppc_prepare_to_enter(struct kvm_vcpu *vcpu)
/* Got an interrupt in between, try again */
local_irq_enable();
local_irq_disable();
kvm_guest_exit();
continue;
}

trace_hardirqs_on();
#endif

kvm_guest_enter();

/* Going into guest context! Yay! */
vcpu->mode = IN_GUEST_MODE;
smp_wmb();
Expand Down

0 comments on commit fd044fd

Please sign in to comment.