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

[Xen-changelog] Add back code to zero the 'saved eflags' value on vmx vmexit.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID bee659de2a369cbf1da2e7751c0eb5e2f0e11dec
# Parent  c53a9a3be3f7da446d9df81d0845f373c54ce501
Add back code to zero the 'saved eflags' value on vmx vmexit.
vmx mode is unstable without this -- the root cause needs to
be investigated.

From: Jun Nakajima

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r c53a9a3be3f7 -r bee659de2a36 xen/arch/x86/hvm/vmx/x86_32/exits.S
--- a/xen/arch/x86/hvm/vmx/x86_32/exits.S       Thu Feb 16 15:31:52 2006
+++ b/xen/arch/x86/hvm/vmx/x86_32/exits.S       Thu Feb 16 15:35:09 2006
@@ -61,6 +61,7 @@
         pushl $HVM_MONITOR_EFLAGS; \
         popf; \
         subl $(NR_SKIPPED_REGS*4), %esp; \
+        movl $0, 0xc(%esp);  /* XXX why do we need to force eflags==0 ?? */ \
         pushl %eax; \
         pushl %ebp; \
         pushl %edi; \

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