mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
[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>
This commit is contained in:
1 parent
4a0b492a66
commit
d7b1ff2259
1 file changed
+3
-3
@@ -1782,9 +1782,9 @@ void domain_pend_keyboard_interrupt(int irq)
|
||||
|
||||
void sync_vcpu_execstate(struct vcpu *v)
|
||||
{
|
||||
__ia64_save_fpu(v->arch._thread.fph);
|
||||
if (VMX_DOMAIN(v))
|
||||
vmx_save_state(v);
|
||||
// __ia64_save_fpu(v->arch._thread.fph);
|
||||
// if (VMX_DOMAIN(v))
|
||||
// vmx_save_state(v);
|
||||
// FIXME SMP: Anything else needed here for SMP?
|
||||
}
|
||||
|
||||
|
||||