From: Wei Liu Subject: Re: [PATCH RFC 2/3] systemd: add xen-init-dom0 service Date: Mon, 20 Oct 2014 22:00:12 +0100 Message-ID: <20141020210012.GA22160@zion.uk.xensource.com> References: <1413817309-4884-1-git-send-email-wei.liu2@citrix.com> <1413817309-4884-3-git-send-email-wei.liu2@citrix.com> <1413831206.97460.YahooMailNeo@web162405.mail.bf1.yahoo.com> <20141020202759.GA21346@zion.uk.xensource.com> <1413838196.61220.YahooMailNeo@web162402.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1413838196.61220.YahooMailNeo@web162402.mail.bf1.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mark Pryor Cc: "olaf@aepfle.de" , Wei Liu , "ian.campbell@citrix.com" , "mcgrof@do-not-panic.com" , "ian.jackson@eu.citrix.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, Oct 20, 2014 at 01:49:56PM -0700, Mark Pryor wrote: > Wei, > > removing the 2 lines in xenstored.service was key to let xen-init-dom0 do the right thing. > The JSON file is now created at Xen start (before Xendomains starts). > > I tested it by direct edits to systemd service file without a new build. > `xl list -l 0` also gives the expected results. > > In logs, its different now (no more `dom0 already setup`) > ---------- log ---------- > > 13:41:05 c7dom0 xen-init-dom0: Done setting up Dom0 > 13:41:05 c7dom0 systemd: Started xen-init-dom0, initialise JSON configuration stub for Dom0. > > ---------- snip ------- > > thanks for getting to the bottom of this, > Thanks for testing. Wei.