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] x86 domain builder: Propagate x86_compat

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86 domain builder: Propagate x86_compat return code.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 05 Dec 2007 05:40:38 -0800
Delivery-date: Wed, 05 Dec 2007 05:42:38 -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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1196848015 0
# Node ID 9cc381efbc29105d0874b4c878ff11ffccedb98e
# Parent  54482c56e4354969f32e4f0e23e29a69d96784c1
x86 domain builder: Propagate x86_compat return code.
Signed-off-by: Elizabeth Kon <eak@xxxxxxxxxx>
---
 tools/libxc/xc_dom_x86.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r 54482c56e435 -r 9cc381efbc29 tools/libxc/xc_dom_x86.c
--- a/tools/libxc/xc_dom_x86.c  Wed Dec 05 09:45:13 2007 +0000
+++ b/tools/libxc/xc_dom_x86.c  Wed Dec 05 09:46:55 2007 +0000
@@ -694,7 +694,9 @@ int arch_setup_meminit(struct xc_dom_ima
     int rc;
     xen_pfn_t pfn;
 
-    x86_compat(dom->guest_xc, dom->guest_domid, dom->guest_type);
+    rc = x86_compat(dom->guest_xc, dom->guest_domid, dom->guest_type);
+    if ( rc )
+        return rc;
     if ( xc_dom_feature_translated(dom) )
     {
         dom->shadow_enabled = 1;

_______________________________________________
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] x86 domain builder: Propagate x86_compat return code., Xen patchbot-unstable <=