diff options
author | Wei Liu <wei.liu2@citrix.com> | 2013-08-30 12:33:33 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-09-03 17:00:31 +0100 |
commit | 3fc8cabb8ab704324b4739b6772fcaaa69bbc3b9 (patch) | |
tree | cf2424982e151b8b7de57291f9e9d04d126cfccc /docs | |
parent | 0166217103e18368424fbd5ffff01c1ea50d0b17 (diff) | |
download | xen-3fc8cabb8ab704324b4739b6772fcaaa69bbc3b9.tar.gz xen-3fc8cabb8ab704324b4739b6772fcaaa69bbc3b9.tar.bz2 xen-3fc8cabb8ab704324b4739b6772fcaaa69bbc3b9.zip |
libvhd: use UTC for VHD timestamp
[ported from xapi-project/blktap a79ac2c05f9 ("XOP-289: use UTC for VHD
timestamps")]
Currently, the local timezone is factored into VHD timestamps due to the
use of mktime(). This breaks "vhd-util check" for VHDs created in one
timezone and then moved westward, which results in "primary footer
invalid: creation time in future" errors.
Signed-off-by: Andrei Lifchits <andrei.lifchits@citrix.com>
Andrei no longer works for Citrix but Germano Percossi (ex-colleague of
Andrei) contacted Andrei and confirmed that
1) this work was written on Citrix time,
2) it is OK to have Andrei's SoB.
Remove unused variable "tm".
Signed-off-by: Germano Percossi <germano.percossi@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions