xen/x86_64-syscall-clear-df.patch

13 lines
484 B
Diff

Index: xen-3.2-testing/xen/arch/x86/x86_64/entry.S
===================================================================
--- xen-3.2-testing.orig/xen/arch/x86/x86_64/entry.S
+++ xen-3.2-testing/xen/arch/x86/x86_64/entry.S
@@ -93,6 +93,7 @@ failsafe_callback:
jnc 1f
orb $TBF_INTERRUPT,TRAPBOUNCE_flags(%rdx)
1: call create_bounce_frame
+ andl $~X86_EFLAGS_DF,UREGS_eflags(%rsp)
jmp test_all_events
.previous
.section __pre_ex_table,"a"