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] Remove Xen workaround for HVM builder now

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Remove Xen workaround for HVM builder now that it's fixed
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 Mar 2007 08:10:17 -0800
Delivery-date: Thu, 01 Mar 2007 08:10:09 -0800
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 Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1172747329 0
# Node ID 3fb02f56c19f096edc6e3b23025389c84b41ec5d
# Parent  8939727a9d93b625b405c9e5391db562a4083ca0
Remove Xen workaround for HVM builder now that it's fixed
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/domain.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff -r 8939727a9d93 -r 3fb02f56c19f xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Thu Mar 01 11:04:45 2007 +0000
+++ b/xen/arch/x86/domain.c     Thu Mar 01 11:08:49 2007 +0000
@@ -501,12 +501,9 @@ int arch_set_info_guest(
     unsigned long flags;
     int i, rc = 0, compat;
 
-    /*
-     * HVM domain builder always builds caller-bitsize vcpu context.
-     * The PV builder is smarter and builds the appropriate type of context for
-     * the target domain. So the compat check here differs in the two cases.
-     */
-    compat = is_hvm_domain(d) ? IS_COMPAT(current->domain) : IS_COMPAT(d);
+    /* 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] Remove Xen workaround for HVM builder now that it's fixed, Xen patchbot-unstable <=