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

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...

2010/6/20 Development <development@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

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@googlemail.com] Sent: 22 June 2010 19:46 To: development@simulamen.eu Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] Obtaining UTC Time from Remote VM Host 2010/6/20 Development <development@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
participants (2)
-
Development
-
Matthias Bolte