ia64/xen-unstable

diff xen/include/asm-x86/hvm/vpt.h @ 19823:82bbce59b65d

save/restore : Save guest's preferred TSC frequency in image

For save/restore or live migration between two different frequency
platforms, guest's preferred TSC frequency is required to caculate
guest's TSC after resotre, so save it in the image header.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jun 24 10:48:21 2009 +0100 (2009-06-24)
parents 71c15dfaa12b
children
line diff
     1.1 --- a/xen/include/asm-x86/hvm/vpt.h	Wed Jun 24 10:47:07 2009 +0100
     1.2 +++ b/xen/include/asm-x86/hvm/vpt.h	Wed Jun 24 10:48:21 2009 +0100
     1.3 @@ -136,8 +136,6 @@ struct pl_time {    /* platform time */
     1.4      spinlock_t pl_time_lock;
     1.5  };
     1.6  
     1.7 -#define ticks_per_sec(v) (v->domain->arch.hvm_domain.tsc_frequency)
     1.8 -
     1.9  void pt_save_timer(struct vcpu *v);
    1.10  void pt_restore_timer(struct vcpu *v);
    1.11  void pt_update_irq(struct vcpu *v);