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

[Xen-devel] Retrieving the precise guest start time via libxc or similar?



Hello,

xc_domain_getinfo() gets us info->cpu_time, which, if I understand
correctly, is the guest uptime.

Is there an officially sanctioned way of retrieving the _exact_ guest
start time? Obviously we can compute an approximation by doing now -
info->cpu_time, but we'd like to be able to uniquely identify an OS boot
-> shutdown cycle, and the difference method is not guaranteed to always
yield the same result for the same running OS.


Thanks,
Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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