[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.1-testing] x86 domain builder: Propagate x86_compat return code.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1196962240 0
# Node ID a3c671f2f10d049a518a805b55b7f809af624ee7
# Parent  641426243d912a9d912c456d7ac32ee1da7b7846
x86 domain builder: Propagate x86_compat return code.
Signed-off-by: Elizabeth Kon <eak@xxxxxxxxxx>
xen-unstable changeset:   16523:9cc381efbc29105d0874b4c878ff11ffccedb98e
xen-unstable date:        Wed Dec 05 09:46:55 2007 +0000
---
 tools/libxc/xc_dom_x86.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -r 641426243d91 -r a3c671f2f10d tools/libxc/xc_dom_x86.c
--- a/tools/libxc/xc_dom_x86.c  Thu Dec 06 17:30:14 2007 +0000
+++ b/tools/libxc/xc_dom_x86.c  Thu Dec 06 17:30:40 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.