All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <Ian.Campbell@citrix.com>
To: Dave Scott <Dave.Scott@citrix.com>
Cc: Ian Jackson <Ian.Jackson@citrix.com>,
	Wei Liu <wei.liu2@citrix.com>,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v3 1/3] docs: add a document describing the 'channels' mechanism
Date: Wed, 2 Jul 2014 16:29:40 +0100	[thread overview]
Message-ID: <1404314980.8137.12.camel@kazak.uk.xensource.com> (raw)
In-Reply-To: <752FFEA5-0624-4F54-9BCF-7A1951983C42@citrix.com>

On Tue, 2014-06-24 at 12:15 +0100, Dave Scott wrote:
> On 24 Jun 2014, at 11:43, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
> 
> > Dave Scott writes ("Re: [PATCH v3 1/3] docs: add a document describing the 'channels' mechanism"):
> >> On 23 Jun 2014, at 15:53, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
> >>> I forgot to ask: what will a guest do that doesn't understand these
> >>> special-purpose "console"s ?
> >> 
> >> In a Linux VM they’ll just appear as /dev/hvcX devices. I assume something similar in a *BSD.
> > 
> > ... and then what would happen with them ?  Nothing ?  If so, fine.
> > 
> > I'm just worried that something might automatically mess with them.
> > E.g. I have found a horrid thing called "modem-manager" on some
> > desktop Linuces which opens (all?) serial devices and tries blathering
> > AT commands at them…
> 
> The uses for these channels all involve talking to some specific
> software inside the guest, for example an “early configuration”
> service or a guest agent. It only makes sense to connect a channel to
> a guest if your guest has been configured to expect it. You would
> install your VM as normal, install your special software, shutdown,
> add the channels, possibly clone/publish your guest as a template and
> then restart.
> 
> You’re right that an unconfigured or misconfigured guest could do
> anything in theory. Your AT command scenario sounds quite realistic
> and would make a good example in the docs of why in-guest
> configuration is necessary.
> 
> I think I should elaborate more on the use-cases in the docs to make all this clearer.

it also implies that the backend should be tolerant of frontends talking
nonsense at them, but of course that's also true for security reasons...

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2014-07-02 15:29 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-23  8:28 [PATCH v3] add support for libvirt-like channels David Scott
2014-06-23  8:28 ` [PATCH v3 1/3] docs: add a document describing the 'channels' mechanism David Scott
2014-06-23 14:38   ` Ian Jackson
2014-06-23 14:53   ` Ian Jackson
2014-06-23 17:45     ` Dave Scott
2014-06-24 10:43       ` Ian Jackson
2014-06-24 11:15         ` Dave Scott
2014-07-02 15:29           ` Ian Campbell [this message]
2014-06-23  8:29 ` [PATCH v3 2/3] libxl: add support for channels David Scott
2014-06-23 14:52   ` Ian Jackson
2014-06-23 17:43     ` Dave Scott
2014-06-24 10:41       ` Ian Jackson
2014-06-24 11:09         ` Dave Scott
2014-06-23  8:29 ` [PATCH v3 3/3] xl: " David Scott
2014-06-23 10:02   ` Wei Liu
2014-06-23 10:47     ` Dave Scott
2014-06-23 14:57   ` Ian Jackson
2014-07-02 15:33     ` Ian Campbell
2014-07-03  8:51       ` Dave Scott
2014-07-22 15:05 ` [PATCH v4] add support for libvirt-like channels David Scott
2014-07-22 15:05   ` [PATCH v4 1/3] libxl IDL: the name of a KeyedUnion descriminator need not be 'type' David Scott
2014-07-24 15:52     ` Ian Campbell
2014-07-22 15:05   ` [PATCH v4 2/3] libxl: add support for 'channels' David Scott
2014-09-10 14:41     ` Ian Campbell
2014-09-11 13:12       ` Dave Scott
2014-07-22 15:05   ` [PATCH v4 3/3] xl: " David Scott
2014-07-28 14:22   ` [PATCH v4] add support for libvirt-like channels David Vrabel
2014-08-07 13:37     ` Dave Scott
2014-08-07 14:12       ` David Vrabel
2014-08-07 14:26         ` Stefano Stabellini
2014-08-11  9:35           ` Dave Scott
2014-08-11 11:49             ` Stefano Stabellini
2014-09-10 13:07     ` Ian Campbell
2014-09-10 13:45       ` Dave Scott
2014-09-10 14:04         ` David Vrabel
2014-09-10 14:13         ` Ian Campbell

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=1404314980.8137.12.camel@kazak.uk.xensource.com \
    --to=ian.campbell@citrix.com \
    --cc=Dave.Scott@citrix.com \
    --cc=Ian.Jackson@citrix.com \
    --cc=Stefano.Stabellini@citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.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 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.