hvmloader: Do not zero the wallclock fields in shared-info.
authorKeir Fraser <keir@xen.org>
Fri, 14 Sep 2012 18:47:57 +0000 (19:47 +0100)
committerKeir Fraser <keir@xen.org>
Fri, 14 Sep 2012 18:47:57 +0000 (19:47 +0100)
commit8f5f42e36f9b6a1213bdbdf680cc9f9e2349cbaa
tree7ddf1eada36c9df5776944c5e3a1358bebad6dd4
parent224f81b97fdf94c154b9295c77046fd91c673cb4
hvmloader: Do not zero the wallclock fields in shared-info.

These fields need to be valid at all times. Hypervisor ensures this
even across 32/64-bit guest transitions.

This fixes a bug where wallclock time is incorrect for booting 32-bit
HVM guests.

This should be backported to Xen 4.1 and 4.2.

Signed-off-by: Keir Fraser <keir@xen.org>
Tested-and-Reported-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
tools/firmware/hvmloader/xenbus.c