All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH v2 1/2] xenconsoled: use grant references instead of map_foreign_range
Date: Thu, 17 Jan 2013 12:15:28 -0500	[thread overview]
Message-ID: <50F831B0.8050707@tycho.nsa.gov> (raw)
In-Reply-To: <1358442356.13856.99.camel@zakaz.uk.xensource.com>

On 01/17/2013 12:05 PM, Ian Campbell wrote:
> On Thu, 2013-01-17 at 16:58 +0000, Daniel De Graaf wrote:
>> On 01/17/2013 11:50 AM, Ian Campbell wrote:
>>> On Thu, 2013-01-10 at 17:28 +0000, Daniel De Graaf wrote:
>>>> This allows xenconsoled to be run in a domain other than dom0 if set up
>>>> correctly - for libxl, the xenstore path /tool/xenconsoled/domid
>>>> specifies the domain containing xenconsoled.
>>>
>>> Have I missed the patch which writes that path?
>>>
>>
>> There is currently no patch which writes to that path; this would be done
>> by the scripts that launch the domain that xenconsoled resides in. I don't
>> think having xenconsoled write its domain ID to that path is useful - it
>> would require waiting for the xenconsoled domain and daemon to start before
>> building other guests, whereas writing the path from dom0 allows setting
>> everything up first and letting xenconsoled catch up later.
> 
> That makes sense.
> 
> I have a follow up question though. Have I missed the patch which reads
> this path ;-)
> 
> Ian.
> 

That was done in the same patch that reads xenstored's path, and it was put
in quite a while ago - the code is in tools/libxl/libxl_dom.c

-- 
Daniel De Graaf
National Security Agency

  reply	other threads:[~2013-01-17 17:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 17:28 [PATCH v2 1/2] xenconsoled: use grant references instead of map_foreign_range Daniel De Graaf
2013-01-10 17:28 ` [PATCH 2/2] libxl: correct xenstore permissions on console device Daniel De Graaf
2013-01-11 19:08 ` [PATCH v2 1/2] xenconsoled: use grant references instead of map_foreign_range Stefano Stabellini
2013-01-11 19:21   ` Daniel De Graaf
2013-01-14 16:23     ` Stefano Stabellini
2013-01-17 16:50 ` Ian Campbell
2013-01-17 16:50 ` Ian Campbell
2013-01-17 16:58   ` Daniel De Graaf
2013-01-17 17:05     ` Ian Campbell
2013-01-17 17:15       ` Daniel De Graaf [this message]
2013-01-17 17:42         ` 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=50F831B0.8050707@tycho.nsa.gov \
    --to=dgdegra@tycho.nsa.gov \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --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 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.