[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On 05/13/2010 06:18 PM, Vincent Hanquez wrote:
> 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.
> 

So more work has to be done to get xl exactly right as xen-api.:)

And I noticed that if use xl create, start_time will not be set.
xm create will set the start_time properly, I wonder if it is xend
that set the start_time or is this a bug?

-- 
Regards
Yang Hongyang

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.