]> xenbits.xensource.com Git - libvirt.git/commit
Allow configurable timezones with QEMU
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Feb 2010 18:37:33 +0000 (18:37 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 1 Mar 2010 18:43:04 +0000 (18:43 +0000)
commit74042b8fba06dffe664a0ebb56f10aa27960c984
treed7f71177cea8152e10f2c04194bd712ebd3f1e4f
parente4d7433ef0201bd5c5ce0ecaa2ca85a68ca48df6
Allow configurable timezones with QEMU

Allow an arbitrary timezone with QEMU by setting the $TZ environment
variable when launching QEMU

* src/qemu/qemu_conf.c: Set TZ environment variable if a timezone
  is requested
* tests/qemuxml2argvtest.c: Add test case for timezones
* tests/qemuxml2argvdata/qemuxml2argv-clock-france.xml,
  tests/qemuxml2argvdata/qemuxml2argv-clock-france.args: Data
  for timezone tests
src/qemu/qemu_conf.c
tests/qemuxml2argvdata/qemuxml2argv-clock-france.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-clock-france.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c