From: Keir Fraser <keir.fraser@eu.citrix.com>
To: John Levon <levon@movementarian.org>,
Pascal Bouchareine <pascal@gandi.net>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] [Xend] Move some backend configuration
Date: Tue, 30 Sep 2008 16:02:32 +0100 [thread overview]
Message-ID: <C507FE18.279B7%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <C507FACD.279B4%keir.fraser@eu.citrix.com>
On 30/9/08 15:48, "Keir Fraser" <keir.fraser@eu.citrix.com> wrote:
> On 30/9/08 15:43, "John Levon" <levon@movementarian.org> wrote:
>
>> On Tue, Sep 30, 2008 at 04:24:43PM +0200, Pascal Bouchareine wrote:
>>
>>> This patch moves some dom0 variables and backend device
>>> configuration from frontend directories to
>>> /local/domain/<backdomid>/backend or /vm.
>>
>> What is the point of this? These paths, however wrong they might be, are
>> API, surely.
>
> Which guaranteed API would that be? These paths are private to the toolstack
> implementation. Perhaps the only exception is the
> xenconsoled-to-console-client xenstore path, but that is the one that most
> urgently needs to change, since we can't trust domUs not to mess with the
> tty path, for example.
Actually I'm wrong: avoiding finding backend paths by looking in
frontend-writable xenstore nodes is even more important. But that bit of the
patch should be uncontentious: it's just xend adding extra private state in
xenstore for its own private use.
The 'helper' functions added to libxenstore perhaps make this look more like
an interface change than it actually is. Noone is forced to use those extra
utility functions, and they're only going to make sense when the /vm_path/
stuff has been set up by xend. Arguably those functions should be
implemented in the xend python wrapper for xenstore, and perhaps duplicated
as necessary in the console client (or arguably the client could safely
assume the console daemon is in dom0 and hardcode the backend path prefix!).
The console client-to-daemon interface change is unfortunate, but I can't
think of an easy alternative fix.
-- Keir
next prev parent reply other threads:[~2008-09-30 15:02 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 14:24 [PATCH] [Xend] Move some backend configuration Pascal Bouchareine
2008-09-30 14:43 ` John Levon
2008-09-30 14:48 ` Keir Fraser
2008-09-30 14:58 ` John Levon
2008-09-30 15:09 ` Keir Fraser
2008-09-30 15:14 ` Ian Jackson
2008-09-30 15:30 ` Daniel P. Berrange
2008-09-30 16:09 ` Keir Fraser
2008-09-30 16:35 ` John Levon
2008-09-30 17:21 ` Pascal Bouchareine
2008-09-30 16:35 ` Daniel P. Berrange
2008-09-30 16:39 ` John Levon
2008-09-30 16:46 ` Keir Fraser
2008-09-30 17:08 ` Daniel P. Berrange
2008-09-30 17:09 ` Pascal Bouchareine
2008-10-02 9:34 ` Ian Jackson
2008-10-02 9:49 ` Keir Fraser
2008-10-02 10:16 ` Pascal Bouchareine
2008-10-02 10:20 ` Keir Fraser
2008-10-02 10:21 ` Ian Jackson
2008-10-02 10:28 ` Keir Fraser
2008-10-02 10:31 ` Ian Jackson
2008-10-02 13:45 ` John Levon
2008-10-02 14:04 ` Keir Fraser
2008-10-02 14:09 ` Keir Fraser
2008-10-02 15:09 ` John Levon
2008-10-02 15:25 ` Keir Fraser
2008-10-02 17:21 ` John Levon
2008-10-02 14:16 ` Ian Jackson
2008-09-30 15:11 ` Pascal Bouchareine
2008-09-30 15:02 ` Keir Fraser [this message]
2008-09-30 15:06 ` John Levon
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=C507FE18.279B7%keir.fraser@eu.citrix.com \
--to=keir.fraser@eu.citrix.com \
--cc=levon@movementarian.org \
--cc=pascal@gandi.net \
--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.