From: Kamala Narasimhan <kamala.narasimhan@gmail.com>
To: Gianni Tedesco <gianni.tedesco@citrix.com>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [PATCH] xl: Check for dependencies in xl
Date: Mon, 24 Jan 2011 12:26:36 -0500 [thread overview]
Message-ID: <4D3DB64C.2090400@gmail.com> (raw)
In-Reply-To: <1295887033.28333.3.camel@qabil.uk.xensource.com>
>
> NAK
>
> Actually I think this type of check should go after the xenstore open
> has failed, just as an informational/hint type of thing IF it fails.
> Rather than applying what is really a heuristic and making it CAUSE a
> failure.
>
Except xs_daemon_open called within libxl_ctx_init does not fail when xenstored is not running! We get this non-obvious error message - "failed to free memory for the domain" at a later point. This patch was an attempt to make the "xenstored not running" issue more obvious.
So, without this check we might have to end up chasing xs_* calls that are bound to fail because of using the non null xs_handle returned by xs_daemon_open and apply this heuristic upon its failure to make the issue more obvious. Given this info, do you still think we shouldn't perform this check? It would certainly make troubleshooting easier.
Alternately, we could investigate why xs_daemon_open is returning a non null handle when xenstored is not running.
Kamala
next prev parent reply other threads:[~2011-01-24 17:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 16:57 [PATCH] xl: Check for dependencies in xl Kamala Narasimhan
2011-01-14 17:51 ` Ian Campbell
2011-01-14 18:57 ` Kamala Narasimhan
2011-01-14 19:19 ` Ian Campbell
2011-01-14 19:33 ` Kamala Narasimhan
2011-01-19 18:46 ` Kamala Narasimhan
2011-01-20 11:01 ` Stefano Stabellini
2011-01-20 14:10 ` Kamala Narasimhan
2011-01-20 14:15 ` Stefano Stabellini
2011-01-21 17:34 ` Ian Jackson
2011-01-21 17:37 ` Stefano Stabellini
2011-01-22 2:34 ` Kamala Narasimhan
2011-01-24 16:37 ` Gianni Tedesco
2011-01-24 17:26 ` Kamala Narasimhan [this message]
2011-01-24 17:32 ` Gianni Tedesco
2011-01-25 17:00 ` 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=4D3DB64C.2090400@gmail.com \
--to=kamala.narasimhan@gmail.com \
--cc=Ian.Campbell@eu.citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=gianni.tedesco@citrix.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.