Vinzenz Feenstra has submitted this change and it was merged.
Change subject: win32: Read serial info directly when not available through WMI
......................................................................
win32: Read serial info directly when not available through WMI
The SerialNumber field in the WMI table 'Win32_DiskDrive' is only
available from Windows Vista and Windows 2008 Server.
This patch works around this issue by querying the device directly,
but only if the SerialNumber field is not available.
Change-Id: Id39914464377c388b8ef3e2551a47a295de4a750
Bug-Url:
https://bugzilla.redhat.com/1158907
Signed-off-by: Vinzenz Feenstra <vfeenstr(a)redhat.com>
---
M ovirt-guest-agent/GuestAgentWin32.py
1 file changed, 64 insertions(+), 2 deletions(-)
Approvals:
Vinzenz Feenstra: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/35258
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id39914464377c388b8ef3e2551a47a295de4a750
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org