ia64/xen-unstable

changeset 11042:e6eede7648ee

[IA64] enable credit schedule on VTI-domain

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
author awilliam@xenbuild.aw
date Wed Aug 16 09:18:16 2006 -0600 (2006-08-16)
parents 29ef650eb22a
children 45cd04201495
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Wed Aug 16 09:15:17 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Wed Aug 16 09:18:16 2006 -0600
     1.3 @@ -111,6 +111,8 @@ void schedule_tail(struct vcpu *prev)
     1.4  
     1.5  	if (VMX_DOMAIN(current)) {
     1.6  		vmx_do_launch(current);
     1.7 +		migrate_timer(&current->arch.arch_vmx.vtm.vtm_timer,
     1.8 +		              current->processor);
     1.9  	} else {
    1.10  		ia64_set_iva(&ia64_ivt);
    1.11          	ia64_set_pta(VHPT_ADDR | (1 << 8) | (VHPT_SIZE_LOG2 << 2) |
    1.12 @@ -147,6 +149,8 @@ void context_switch(struct vcpu *prev, s
    1.13   
    1.14      if (VMX_DOMAIN(current)){
    1.15  	vmx_load_all_rr(current);
    1.16 +	migrate_timer(&current->arch.arch_vmx.vtm.vtm_timer,
    1.17 +	              current->processor);
    1.18      } else {
    1.19  	struct domain *nd;
    1.20      	extern char ia64_ivt;