ia64/xen-unstable

changeset 16523:9cc381efbc29

x86 domain builder: Propagate x86_compat return code.
Signed-off-by: Elizabeth Kon <eak@us.ibm.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Dec 05 09:46:55 2007 +0000 (2007-12-05)
parents 54482c56e435
children 3dc3a5feeb60
files tools/libxc/xc_dom_x86.c
line diff
     1.1 --- a/tools/libxc/xc_dom_x86.c	Wed Dec 05 09:45:13 2007 +0000
     1.2 +++ b/tools/libxc/xc_dom_x86.c	Wed Dec 05 09:46:55 2007 +0000
     1.3 @@ -694,7 +694,9 @@ int arch_setup_meminit(struct xc_dom_ima
     1.4      int rc;
     1.5      xen_pfn_t pfn;
     1.6  
     1.7 -    x86_compat(dom->guest_xc, dom->guest_domid, dom->guest_type);
     1.8 +    rc = x86_compat(dom->guest_xc, dom->guest_domid, dom->guest_type);
     1.9 +    if ( rc )
    1.10 +        return rc;
    1.11      if ( xc_dom_feature_translated(dom) )
    1.12      {
    1.13          dom->shadow_enabled = 1;