Change in ovirt-guest-agent[ovirt-3.5]: win32: Update version information reporting for Win8+ and si...

vfeenstr at redhat.com vfeenstr at redhat.com
Thu Nov 26 11:05:25 UTC 2015


Vinzenz Feenstra has submitted this change and it was merged.

Change subject: win32: Update version information reporting for Win8+ and simplify
......................................................................


win32: Update version information reporting for Win8+ and simplify

With Windows 8.1 the API for retrieving the OS version on Windows has
changed that it won't report a higher version than 6.2 even though it
might be Windows 8.1 or Windows 10 etc

This code change introduces a new way to retrieve the current version by
using RtlGetVersion which still does behave the old way.
Additionally this patch already introduces the Windows 2016 Server detection
as the version for this is known.

Also this patch now removes obsolete and unsupported versions.

Change-Id: I8047842b080140e072b04c2af46ec0e6b8287c51
Bug-Url: https://bugzilla.redhat.com/1279980
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
---
M ovirt-guest-agent/GuestAgentWin32.py
1 file changed, 54 insertions(+), 44 deletions(-)

Approvals:
  Vinzenz Feenstra: Verified; Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/49136
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8047842b080140e072b04c2af46ec0e6b8287c51
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list