All of lore.kernel.org
 help / color / mirror / Atom feed
From: beth kon <eak@us.ibm.com>
Cc: Xen-devel@lists.xensource.com
Subject: Re: [PATCH] Propagate x86_compat return code
Date: Tue, 04 Dec 2007 15:28:17 -0500	[thread overview]
Message-ID: <4755B861.1040609@us.ibm.com> (raw)
In-Reply-To: <475565B0.6070408@us.ibm.com>

Not sure how you handle it, but this fix is also needed for xen 3.1.2.

beth kon wrote:

> This patch propagates the return code from x86_compat through 
> arch_setup_meminit.
>
> Signed-off-by: Elizabeth Kon (eak@us.ibm.com)
>
> -- 
>
> diff -r 8e3d42fdb8e7 tools/libxc/xc_dom_x86.c
> --- a/tools/libxc/xc_dom_x86.c  Tue Dec 04 09:56:10 2007 +0000
> +++ b/tools/libxc/xc_dom_x86.c  Tue Dec 04 09:27:33 2007 -0500
> @@ -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;
>


-- 
Elizabeth Kon (Beth)
IBM Linux Technology Center
Open Hypervisor Team
email: eak@us.ibm.com

      reply	other threads:[~2007-12-04 20:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04 14:35 [PATCH] Propagate x86_compat return code beth kon
2007-12-04 20:28 ` beth kon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4755B861.1040609@us.ibm.com \
    --to=eak@us.ibm.com \
    --cc=Xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.