[libvirt-users] A way to determine when a guest domain was launched?

I've looked around at the API documents (I'm using python) and I know how to find the cpu active uptime of the domain, but that only increases if the domain is running something. Is there a way to determine when the domain was first launched, either as a date or uptime with idle uptime included? /Amy

On Mon, Apr 16, 2012 at 10:21:59AM +0000, Amy Skinner wrote:
I've looked around at the API documents (I'm using python) and I know how to find the cpu active uptime of the domain, but that only increases if the domain is running something. Is there a way to determine when the domain was first launched, either as a date or uptime with idle uptime included?
No, that information is not available in the API at this time. Feel free to file a bug requesting this though - for many of the drivers it would be pretty trivial to add this information. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (2)
-
Amy Skinner
-
Daniel P. Berrange