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

[Xen-changelog] [xen-unstable] hvm: eflags[1] must remain set across task switch.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1190755697 -3600
# Node ID ce3916c3e47dac2908decf0f6afbb05d42af3de9
# Parent  265950e3df692730b89411aff6fbb1e2a017a192
hvm: eflags[1] must remain set across task switch.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/hvm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 265950e3df69 -r ce3916c3e47d xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Tue Sep 25 15:35:17 2007 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Tue Sep 25 22:28:17 2007 +0100
@@ -1015,7 +1015,7 @@ void hvm_task_switch(
     }
 
     regs->eip    = ptss->eip;
-    regs->eflags = ptss->eflags;
+    regs->eflags = ptss->eflags | 2;
     regs->eax    = ptss->eax;
     regs->ecx    = ptss->ecx;
     regs->edx    = ptss->edx;

_______________________________________________
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®.