diff options
author | Tim Deegan <tim@xen.org> | 2013-03-28 12:19:32 +0000 |
---|---|---|
committer | Tim Deegan <tim@xen.org> | 2013-03-29 09:43:11 +0000 |
commit | 82ec83c425af79823d9fdb818ece44bae1298578 (patch) | |
tree | 7657a958c5567017c72865c5c319af9aa118c840 /xen/include/asm-x86/hvm | |
parent | 58afa7ef12ff31c1f11658f35a9fef35ca15d641 (diff) | |
download | xen-82ec83c425af79823d9fdb818ece44bae1298578.tar.gz xen-82ec83c425af79823d9fdb818ece44bae1298578.tar.bz2 xen-82ec83c425af79823d9fdb818ece44bae1298578.zip |
x86/hvm: Avoid needlessly resetting the periodic timer.
Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/asm-x86/hvm')
-rw-r--r-- | xen/include/asm-x86/hvm/vpt.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xen/include/asm-x86/hvm/vpt.h b/xen/include/asm-x86/hvm/vpt.h index 2e9c7d24eb..ea9df426d5 100644 --- a/xen/include/asm-x86/hvm/vpt.h +++ b/xen/include/asm-x86/hvm/vpt.h @@ -104,16 +104,16 @@ typedef struct RTCState { struct hvm_hw_rtc hw; /* RTC's idea of the current time */ struct tm current_tm; - /* periodic timer */ - s_time_t start_time; - /* second update */ - struct periodic_time pt; /* update-ended timer */ struct timer update_timer; struct timer update_timer2; + uint64_t next_update_time; /* alarm timer */ struct timer alarm_timer; - uint64_t next_update_time; + /* periodic timer */ + struct periodic_time pt; + s_time_t start_time; + int pt_code; uint32_t use_timer; spinlock_t lock; } RTCState; |