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 <[email protected]>
---
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/35035
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id39914464377c388b8ef3e2551a47a295de4a750
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: Jiří Moskovčák <[email protected]>
Gerrit-Reviewer: Martin Betak <[email protected]>
Gerrit-Reviewer: Martin Polednik <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to