From: Tim Deegan Subject: Re: ????: Re: [PATCH] libxl: fix xenstore connection when run in domU Date: Wed, 1 Sep 2010 09:52:41 +0100 Message-ID: <20100901085241.GA1432@whitby.uk.xensource.com> References: <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB4F@LONPMAILBOX01.citrite.net> <1283246119.12544.9287.camel@zakaz.uk.xensource.com> <20100831102851.GB23648@whitby.uk.xensource.com> <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB53@LONPMAILBOX01.citrite.net> <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB55@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <433DDF91DFB08148BAD3FDB6FDDA314C9F35F3BB55@LONPMAILBOX01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Jun Zhu (Intern)" Cc: Ian Campbell , Patrick Colp , "xen-devel@lists.xensource.com" , "dgdegra@tycho.nsa.gov" List-Id: xen-devel@lists.xenproject.org At 09:40 +0100 on 01 Sep (1283334016), Jun Zhu (Intern) wrote: > In pvops, in the function xenbus_file_write of file drivers/xen/xenfs/xenbus.c. > In the switch, there is no XS_INTRODUCE which is used to create a new domain. > These commands are eliminated here, since in default, a Domu cannot use these commands. As Ian Campbell just said, you need to port changesets 874 and 876 of the linux-2.6.18-xen tree to your pvops kernel: http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev=876 Cheers, Tim. > ??????: Patrick Colp [pjcolp@cs.ubc.ca] > ????????: 2010??8??31?? ???? 1:51 > ??????: Ian Campbell > ????: Jun Zhu (Intern); Tim Deegan; dgdegra@tycho.nsa.gov; xen-devel@lists.xensource.com > ????: Re: [Xen-devel] Re: [PATCH] libxl: fix xenstore connection when run in domU > > Which XenBus driver is this? In Linux? I've certainly had no issues > running a Mini-OS XenStore stubdom (at least not in regards to missing > things like XS_INTRODUCE). > > > Patrick > > > On 31 August 2010 03:44, Ian Campbell wrote: > > On Tue, 2010-08-31 at 11:32 +0100, Jun Zhu (Intern) wrote: > >> > >> If xenstore runs in a seperate domain, it must use xenbus dev to > >> communicate. If so, the xenstore commands in Xenbus driver are not > >> complete. For example, it does not contain XS_INTRODUCE now. > > > > IIRC Diego's original xenstore-stubdom patch series from way back when > > (posted to the list by Diego and again later by Alex Zeffertt) included > > patches to the kernel side xenbus driver to resolve issues like this. > > > > Ian. > > > > > > -- Tim Deegan Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)