This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [IA64] Fix xm pause/unpause bug

# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 2de2952715d92b6e7a7b2a7c2db35e8b893f7c56
# Parent  998aa66b650282cca9ffb8df531d7a181568d77f
[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@xxxxxxxxx>
Signed-off-by: Zhang xiantao <xiantao.zhang@xxxxxxxxx>
 xen/arch/ia64/xen/domain.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 998aa66b6502 -r 2de2952715d9 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Wed May 17 15:52:10 2006 -0600
+++ b/xen/arch/ia64/xen/domain.c        Wed May 17 15:52:55 2006 -0600
@@ -1782,9 +1782,9 @@ void domain_pend_keyboard_interrupt(int 
 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?

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] Fix xm pause/unpause bug, Xen patchbot-unstable <=