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] [xen-unstable] x86-64: clear DF for kernel when forwardi

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86-64: clear DF for kernel when forwarding syscall.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 03 Jul 2007 13:33:18 -0700
Delivery-date: Tue, 03 Jul 2007 13:31:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1183459453 -3600
# Node ID c192e3241eb7a620e371bc4ff532baba99cc5230
# Parent  83cbda5c1e1b55acf5f8b9981cfe022a2da05e3c
x86-64: clear DF for kernel when forwarding syscall.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
 xen/arch/x86/x86_64/entry.S |    1 +
 1 files changed, 1 insertion(+)

diff -r 83cbda5c1e1b -r c192e3241eb7 xen/arch/x86/x86_64/entry.S
--- a/xen/arch/x86/x86_64/entry.S       Tue Jul 03 11:41:25 2007 +0100
+++ b/xen/arch/x86/x86_64/entry.S       Tue Jul 03 11:44:13 2007 +0100
@@ -34,6 +34,7 @@ switch_to_kernel:
         jnc   1f
         movb  $TBF_INTERRUPT,TRAPBOUNCE_flags(%rdx)
 1:      call  create_bounce_frame
+        andl  $~X86_EFLAGS_DF,UREGS_eflags(%rsp)
         jmp   test_all_events
 /* %rbx: struct vcpu, interrupts disabled */

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86-64: clear DF for kernel when forwarding syscall., Xen patchbot-unstable <=