Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197706
b: refs/heads/master
c: 041b135
h: refs/heads/master
v: v3
  • Loading branch information
Marcelo Tosatti authored and Avi Kivity committed May 17, 2010
1 parent 3984568 commit 61c0632
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: de3e6480f76804fe06d460ddb1920c7daa07f29b
refs/heads/master: 041b1359a29b9301bc8baed6efcdbad29f80f6af
3 changes: 2 additions & 1 deletion trunk/arch/x86/kvm/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ static int __kvm_timer_fn(struct kvm_vcpu *vcpu, struct kvm_timer *ktimer)
/*
* There is a race window between reading and incrementing, but we do
* not care about potentially loosing timer events in the !reinject
* case anyway.
* case anyway. Note: KVM_REQ_PENDING_TIMER is implicitly checked
* in vcpu_enter_guest.
*/
if (ktimer->reinject || !atomic_read(&ktimer->pending)) {
atomic_inc(&ktimer->pending);
Expand Down

0 comments on commit 61c0632

Please sign in to comment.