[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] enable credit schedule on VTI-domain



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID e6eede7648ee7970aaecd28060093edfb7333f6b
# Parent  29ef650eb22a697452d708be2d54c5e658a1921f
[IA64] enable credit schedule on VTI-domain

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 xen/arch/ia64/xen/domain.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 29ef650eb22a -r e6eede7648ee xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Wed Aug 16 09:15:17 2006 -0600
+++ b/xen/arch/ia64/xen/domain.c        Wed Aug 16 09:18:16 2006 -0600
@@ -111,6 +111,8 @@ void schedule_tail(struct vcpu *prev)
 
        if (VMX_DOMAIN(current)) {
                vmx_do_launch(current);
+               migrate_timer(&current->arch.arch_vmx.vtm.vtm_timer,
+                             current->processor);
        } else {
                ia64_set_iva(&ia64_ivt);
                ia64_set_pta(VHPT_ADDR | (1 << 8) | (VHPT_SIZE_LOG2 << 2) |
@@ -147,6 +149,8 @@ void context_switch(struct vcpu *prev, s
  
     if (VMX_DOMAIN(current)){
        vmx_load_all_rr(current);
+       migrate_timer(&current->arch.arch_vmx.vtm.vtm_timer,
+                     current->processor);
     } else {
        struct domain *nd;
        extern char ia64_ivt;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.