From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Hanquez Subject: Re: [PATCH 1/2]xl: Add "xl uptime" command Date: Thu, 13 May 2010 11:18:53 +0100 Message-ID: <4BEBD20D.1070802@eu.citrix.com> References: <4BEBC81A.70109@cn.fujitsu.com> <4BEBCC61.3000703@eu.citrix.com> <4BEBD032.5080408@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4BEBD032.5080408@cn.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yang Hongyang Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 13/05/10 11:10, Yang Hongyang wrote: >> I find this command basically useless, since on restore the "start_time" >> is not kept. do we actually need this ? >> > > I think it's sometimes useful. I noticed that just the day before yesterday, > somebody asked in the xen-api list about "uptime" command. it is useful if it works :) however this version of start_time means "when was this xen domain started" which is not the VM start time (i.e. "when was my vm booted"). To be useful start_time need to preserved across migration and suspend/restore. xen-api does the right thing and returns the later. -- Vincent