]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix localtime handling for Xen-PV domains
authorPhilipp Hahn <hahn@univention.de>
Mon, 5 Sep 2011 06:22:36 +0000 (14:22 +0800)
committerDaniel Veillard <veillard@redhat.com>
Mon, 5 Sep 2011 06:22:36 +0000 (14:22 +0800)
commit8be115ff80e6eac8f3c2c0923e13160d0a2c0dad
tree8fd95e4c54863db6156c0dfd74276a9aa29569a6
parent973fcd8fd35ba1fac06f48c13a27e0ea086b5e17
Fix localtime handling for Xen-PV domains

At least Xen-3.4.3 translates the /vm/localtime SXPR value to
/domain/platform/localtime and /domain/image/{linux,hvm}/localtime when
the domain is defined.  When reading back that information libvirt only
handles HVM domains, but not PV domains: This results in libvirtd always
returning
    <clock offset="utc"/>
while Xend used (localtime 1).

For PV domains use /domain/image/linux/localtime.
src/xenxs/xen_sxpr.c