Change in ovirt-guest-agent[master]: Support for mapping image ids to physical devices

vfeenstr at redhat.com vfeenstr at redhat.com
Wed Aug 20 15:20:36 UTC 2014


Vinzenz Feenstra has submitted this change and it was merged.

Change subject: Support for mapping image ids to physical devices
......................................................................


Support for mapping image ids to physical devices

This patch uses libudev through ctypes for systems providing
libudev due to the instable nature of sysfs. While on RHEL5
we're using sysfs we cannot for example use it on Fedora 20
with kernel 3.15 since the serial values seem not to be exposed
by sysfs.

This patch extends the disks-usage message with the 'mapping' field.
The value of the mapping field is an object {'$serial': {'name': '$devname'}}

Change-Id: Ie8961b3703703df573dbf2f0fca2143b463ae76b
Bug-Url: https://bugzilla.redhat.com/1127607
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
---
M configure.ac
M ovirt-guest-agent.rhel6.spec
M ovirt-guest-agent.spec
M ovirt-guest-agent/GuestAgentLinux2.py
M ovirt-guest-agent/GuestAgentWin32.py
M ovirt-guest-agent/Makefile.el5
M ovirt-guest-agent/OVirtAgentLogic.py
M scripts/Makefile.am
A scripts/diskmapper/Makefile.am
A scripts/diskmapper/diskmapper.el5
A scripts/diskmapper/diskmapper.libudev
11 files changed, 239 insertions(+), 5 deletions(-)

Approvals:
  Nir Soffer: Looks good to me, but someone else must approve
  Vinzenz Feenstra: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/31465
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie8961b3703703df573dbf2f0fca2143b463ae76b
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap at redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <mskrivan at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list