[PATCH v2 07/10] hyperv: fix Win32_OperatingSystem WMI queries

Matt Coleman mcoleman at datto.com
Mon Oct 5 16:20:12 UTC 2020


CurrentTimeZone's type is a signed integer, not unsigned.

Signed-off-by: Matt Coleman <matt at datto.com>
---
 src/hyperv/hyperv_wmi_generator.input | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hyperv/hyperv_wmi_generator.input b/src/hyperv/hyperv_wmi_generator.input
index 77543cf6ef..bbca550790 100644
--- a/src/hyperv/hyperv_wmi_generator.input
+++ b/src/hyperv/hyperv_wmi_generator.input
@@ -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
-- 
2.27.0





More information about the libvir-list mailing list