This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH 1/2]xl: Add "xl uptime" command

To: Yang Hongyang <yanghy@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/2]xl: Add "xl uptime" command
From: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Date: Thu, 13 May 2010 11:18:53 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 13 May 2010 03:19:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BEBD032.5080408@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4BEBC81A.70109@xxxxxxxxxxxxxx> <4BEBCC61.3000703@xxxxxxxxxxxxx> <4BEBD032.5080408@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100411 Icedove/3.0.4
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.


Xen-devel mailing list