]> git.proxmox.com Git - mirror_qemu.git/commit - qga/commands.c
qga: Add `guest-get-timezone` command
authorVinzenz Feenstra <vfeenstr@redhat.com>
Wed, 19 Apr 2017 10:52:58 +0000 (12:52 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 27 Apr 2017 05:40:25 +0000 (00:40 -0500)
commit53c58e64d0a27c59d763778faa2b5a522c544719
tree9ea5883ab18b0a0e4389875840057519bb364e1e
parent161a56a9065feb6fa2f69cec6237a5c4e714b9d3
qga: Add `guest-get-timezone` command

Adds a new command `guest-get-timezone` reporting the currently
configured timezone on the system. The information on what timezone is
currently is configured is useful in case of Windows VMs where the
offset of the hardware clock is required to have the same offset. This
can be used for management systems like `oVirt` to detect the timezone
difference and warn administrators of the misconfiguration.

Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
Reviewed-by: Sameeh Jubran <sameeh@daynix.com>
Tested-by: Sameeh Jubran <sameeh@daynix.com>
* moved stub implementation to end of function for consistency
* document that timezone names are for informational use only.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands.c
qga/qapi-schema.json