ia64/xen-unstable

changeset 10017:2de2952715d9

[IA64] Fix xm pause/unpause bug

This small patch intends to fix domain pause/unpause bug.
Current xm pause operation will do sync_vcpu_execstate to
sync vcpu status, but it saves dom0's fpu and other registers
to VTi domain or domainU due to xm pause from control panel.
Because sync_vcpu_execstate was called after vcpu_sleep which
has saved all status when schedule out ,in addition, currently
no lazy states need to be saved in IPF side, so sync_vcpu_execstate
would need do nothing now.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
author awilliam@xenbuild.aw
date Wed May 17 15:52:55 2006 -0600 (2006-05-17)
parents 998aa66b6502
children 8df6a7308178
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Wed May 17 15:52:10 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Wed May 17 15:52:55 2006 -0600
     1.3 @@ -1782,9 +1782,9 @@ void domain_pend_keyboard_interrupt(int 
     1.4  
     1.5  void sync_vcpu_execstate(struct vcpu *v)
     1.6  {
     1.7 -	__ia64_save_fpu(v->arch._thread.fph);
     1.8 -	if (VMX_DOMAIN(v))
     1.9 -		vmx_save_state(v);
    1.10 +//	__ia64_save_fpu(v->arch._thread.fph);
    1.11 +//	if (VMX_DOMAIN(v))
    1.12 +//		vmx_save_state(v);
    1.13  	// FIXME SMP: Anything else needed here for SMP?
    1.14  }
    1.15