ia64/xen-unstable

changeset 15982:ce3916c3e47d

hvm: eflags[1] must remain set across task switch.
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Tue Sep 25 22:28:17 2007 +0100 (2007-09-25)
parents 265950e3df69
children ea60bafe2702
files xen/arch/x86/hvm/hvm.c
line diff
     1.1 --- a/xen/arch/x86/hvm/hvm.c	Tue Sep 25 15:35:17 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/hvm.c	Tue Sep 25 22:28:17 2007 +0100
     1.3 @@ -1015,7 +1015,7 @@ void hvm_task_switch(
     1.4      }
     1.5  
     1.6      regs->eip    = ptss->eip;
     1.7 -    regs->eflags = ptss->eflags;
     1.8 +    regs->eflags = ptss->eflags | 2;
     1.9      regs->eax    = ptss->eax;
    1.10      regs->ecx    = ptss->ecx;
    1.11      regs->edx    = ptss->edx;