[libvirt-users] Obtaining UTC Time from Remote VM Host

Development development at simulamen.eu
Wed Jun 23 18:58:15 UTC 2010


Matthias,

Great to hear from you.  Hope all is well with you and yours?

Have discussed your suggestion with my client.  They do not wish to use a libvirt that has been modified for their ends.  Timestamp will therefore come from the Windows client!

Thanks for the response...

Tim

-----Original Message-----
From: Matthias Bolte [mailto:matthias.bolte at googlemail.com] 
Sent: 22 June 2010 19:46
To: development at simulamen.eu
Cc: libvirt-users at redhat.com
Subject: Re: [libvirt-users] Obtaining UTC Time from Remote VM Host

2010/6/20 Development <development at simulamen.eu>:
> Quick question on whether it is possible to use the libvirt API exposed by
> the libvirt DLL compiled on a Vista machine to obtain the system time in UTC
> of the remote machine hosting several VMs?  Many thanks...
>

There is no such feature in libvirt yet. But there is no reason why a
function like

   time_t virConnectGetCurrentTime(virConnectPtr conn);

could not be added to libvirt.

Matthias





More information about the libvirt-users mailing list