diff options
| author | Roger Pau Monné <royger@FreeBSD.org> | 2016-05-02 16:13:11 +0000 |
|---|---|---|
| committer | Roger Pau Monné <royger@FreeBSD.org> | 2016-05-02 16:13:11 +0000 |
| commit | 04423b622a81a2f81428291c2f9a2c35ab00a03a (patch) | |
| tree | e2733ff3129bef4eebd5e739e70ff164d082f048 /sys/dev/xen/timer/timer.c | |
| parent | b8ad211534e4529ab7e58679c1cf88fb6330aab6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/xen/timer/timer.c')
| -rw-r--r-- | sys/dev/xen/timer/timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/xen/timer/timer.c b/sys/dev/xen/timer/timer.c index 53aff0a4e4bd..db9b19b6cd47 100644 --- a/sys/dev/xen/timer/timer.c +++ b/sys/dev/xen/timer/timer.c @@ -267,7 +267,8 @@ xentimer_vcpu_start_timer(int vcpu, uint64_t next_time) struct vcpu_set_singleshot_timer single; single.timeout_abs_ns = next_time; - single.flags = VCPU_SSHOTTMR_future; + /* Get an event anyway, even if the timeout is already expired */ + single.flags = 0; return (HYPERVISOR_vcpu_op(VCPUOP_set_singleshot_timer, vcpu, &single)); } |
