qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC] Can we convert UTC time to local time in Qemu
@ 2015-05-20  6:29 Gonglei (Arei)
  2015-05-20  9:00 ` Daniel P. Berrange
  2015-05-20 14:43 ` Eric Blake
  0 siblings, 2 replies; 6+ messages in thread
From: Gonglei (Arei) @ 2015-05-20  6:29 UTC (permalink / raw)
  To: qemu-devel@nongnu.org; +Cc: Huangpeng (Peter), Herongguang (Stephen)

Hi,

At present, Qemu use g_time_val_to_iso8601() to get the UTC added to error_report()
(commit 5e2ac5191), TBH this way is very simply, we just need invoke standard glib functions to
complete the job. 

But in the cloud computing and data center scenarios, there are many
Other open source components, such as kernel, libvirt, openstack which are all using local time
to record the message logs, only Qemu is using the UTC time. When we want to find a error
message of Qemu, we should convert the UTC time to local time manually, and unfortunately
different countries have different local time, what a trouble thing the converting is.

So, my question is: Can we convert the UTC time to local time in Qemu? 

Any thoughts? Thanks.


Regards,
-Gonglei

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-21  3:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-20  6:29 [Qemu-devel] [RFC] Can we convert UTC time to local time in Qemu Gonglei (Arei)
2015-05-20  9:00 ` Daniel P. Berrange
2015-05-20  9:28   ` Gonglei
2015-05-20 14:43 ` Eric Blake
2015-05-21  2:10   ` Gonglei
2015-05-21  3:04   ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).