[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 1/2] xenconsoled: use grant references instead of map_foreign_range

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

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.