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

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



# 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


 


Rackspace

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