]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
hyperv: fix Win32_OperatingSystem WMI queries
authorMatt Coleman <mcoleman@datto.com>
Mon, 5 Oct 2020 16:20:12 +0000 (12:20 -0400)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 9 Oct 2020 07:27:03 +0000 (09:27 +0200)
CurrentTimeZone's type is a signed integer, not unsigned.

Signed-off-by: Matt Coleman <matt@datto.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/hyperv/hyperv_wmi_generator.input

index 77543cf6ef35b81791d12a3ed9294c27a63ad7d4..bbca5507907cededc8313454c49d15c6fc8202cd 100644 (file)
@@ -673,7 +673,7 @@ class Win32_OperatingSystem
     string   CSCreationClassName
     string   CSDVersion
     string   CSName
-    uint16   CurrentTimeZone
+    int16    CurrentTimeZone
     boolean  DataExecutionPrevention_Available
     boolean  DataExecutionPrevention_32BitApplications
     boolean  DataExecutionPrevention_Drivers