WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEN] Fix cset 14166

# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1172742760 0
# Node ID b703aa29424f07fb0800753af5fc9c0347fd7613
# Parent  3379f667c3a66664d30a72905c51514c0fd936ef
[XEN] Fix cset 14166
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/domain.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff -r 3379f667c3a6 -r b703aa29424f xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Wed Feb 28 12:35:36 2007 -0800
+++ b/xen/arch/x86/domain.c     Thu Mar 01 09:52:40 2007 +0000
@@ -501,11 +501,9 @@ int arch_set_info_guest(
     unsigned long flags;
     int i, rc = 0, compat;
 
-    /* The context is a compat-mode one if *either* the calling domain 
-     * or the target domain is compat-mode: if the caller is compat, it
-     * won't know to make a native context, and if the target is compat,
-     * the tools will have made a compat-mode context for it. */
-    compat = IS_COMPAT(d) || IS_COMPAT(current->domain);
+    /* The context is a compat-mode one if the target domain is compat-mode;
+     * we expect the tools to DTRT even in compat-mode callers. */
+    compat = IS_COMPAT(d);
 
 #ifdef CONFIG_COMPAT
 #define c(fld) (compat ? (c.cmp->fld) : (c.nat->fld))

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN] Fix cset 14166, Xen patchbot-unstable <=