From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ian Murray <murrayie@yahoo.co.uk>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ian.Campbell@citrix.com, xen-devel@lists.xen.org
Subject: Re: [PATCH] [Backport 4.2.x] Fix issue with 'xl list -l' showing domids as -1 when using SXP
Date: Fri, 5 Jul 2013 10:34:47 +0100 [thread overview]
Message-ID: <51D69337.40505@citrix.com> (raw)
In-Reply-To: <1372980878-11548-1-git-send-email-murrayie@yahoo.co.uk>
On 05/07/13 00:34, Ian Murray wrote:
> During investigation of other issues, it came to light that in at least
> 4.2.2, "xl list -l" displays domain ids as -1 when using SXP, irrespective
> of actual value. Ian C identified that this issue was likely fixed in the
> upcoming 4.3 release but the commit responsible for the fix
> (a73a7a0c647a9a5e30d8bc473c0a1e8648817183) was not likely a candidate for
> backporting in its entirety.
>
> Therefore, this patch is just an isolation of the hunk to fix the above issue.
>
> Original Commit Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
> Backport Created-by: Ian Murray <murrayie@yahoo.co.uk>
As this is a backport request for the tools component, it needs to be
CC'd to Ian Jackson (done)
~Andrew
> ---
> tools/libxl/xl_cmdimpl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
> index 7780426..fe8dc92 100644
> --- a/tools/libxl/xl_cmdimpl.c
> +++ b/tools/libxl/xl_cmdimpl.c
> @@ -2809,7 +2809,7 @@ static void list_domains_details(const libxl_dominfo *info, int nb_domain)
> if (default_output_format == OUTPUT_FORMAT_JSON)
> s = printf_info_one_json(hand, info[i].domid, &d_config);
> else
> - printf_info_sexp(domid, &d_config);
> + printf_info_sexp(info[i].domid, &d_config);
> libxl_domain_config_dispose(&d_config);
> free(data);
> free(config_source);
next prev parent reply other threads:[~2013-07-05 9:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-04 23:34 [PATCH] [Backport 4.2.x] Fix issue with 'xl list -l' showing domids as -1 when using SXP Ian Murray
2013-07-05 9:34 ` Andrew Cooper [this message]
2013-07-12 13:23 ` [PATCH] [Backport 4.2.x] Fix issue with 'xl list -l' showing domids as -1 when using SXP [and 1 more messages] Ian Jackson
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=51D69337.40505@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=murrayie@yahoo.co.uk \
--cc=xen-devel@lists.xen.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).