From: Ian Campbell Subject: Re: [PATCH V5 29/32] xl: use "libxl-json" format Date: Tue, 20 May 2014 16:31:45 +0100 Message-ID: <1400599905.6946.99.camel@kazak.uk.xensource.com> References: <1400018054-26038-1-git-send-email-wei.liu2@citrix.com> <1400018054-26038-30-git-send-email-wei.liu2@citrix.com> <1400595806.6946.85.camel@kazak.uk.xensource.com> <21371.28942.534541.997315@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21371.28942.534541.997315@mariner.uk.xensource.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: Ian Jackson Cc: Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2014-05-20 at 16:13 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH V5 29/32] xl: use "libxl-json" format"): > > On Tue, 2014-05-13 at 22:54 +0100, Wei Liu wrote: > > > Tests done so far (xl.{new,old} denotes xl with{,out} "xl_json" > > > support): > > > > > > 1. xl.new create then xl.new save, hexdump saved file: domain config > > > saved in JSON format > > > 2. xl.new create, xl.new save then xl.old restore: failed on > > > mandatory flag check > > > 3. xl.new create, xl.new save then xl.new restore: succeeded > > > 4. xl.old create, xl.old save then xl.new restore: succeeded > > > 5. xl.new create then local migrate, receiving end xl.new: succeeded > > > 6. xl.old create then local migrate, receiving end xl.new: succeeded > > > > I think xl.old create, xl.new save, xl.new restore would be interesting > > (it should work I think) > > The first xl.new won't find the stored json domain config, so no. But > this isn't something you're supposed to be able to do between Xen > releases (because new tools means new hypervisor so a reboot). Yes, I was thinking in a developer oriented way where I'm too lazy to reboot ;-) > > For cases like #4 and #6 if you subsequently save the domain does it use > > xl or libxl-json? What I'm asking is does the oldness persist forever or > > is it laundered out (which in turn feeds into how long old support needs > > to stay in the tree...) > > AIUI it gets laundered out. Good! Ian.