Change in vdsm[master]: vdsm: introduce cpuinfo module

danken at redhat.com danken at redhat.com
Thu Jan 21 13:32:48 UTC 2016


Dan Kenigsberg has submitted this change and it was merged.

Change subject: vdsm: introduce cpuinfo module
......................................................................


vdsm: introduce cpuinfo module

The objective of the new modules is encapsulating functionality related
to CPU from bare-metal standpoint. That means parsing cpuinfo and
exposing host architecture. This approach cleans up 'caps' module and,
more importantly, moves the code to vdsm library - allowing hooks to
work with cpu info and architecture. This allows us to move fake_kvm
to a hook.

Change-Id: Iaa702b05f3825ebdcfed16d86d39a8c38fcf224c
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/46912
Continuous-Integration: Jenkins CI
Reviewed-by: Nir Soffer <nsoffer at redhat.com>
Reviewed-by: Francesco Romani <fromani at redhat.com>
---
M configure.ac
M debian/vdsm-tests.install
M lib/vdsm/Makefile.am
A lib/vdsm/cpuinfo.py
M tests/Makefile.am
M tests/capsTests.py
A tests/cpuinfo/Makefile.am
A tests/cpuinfo/cpuinfo_E5649_x86_64.out
A tests/cpuinfo/cpuinfo_POWER8E_ppc64le.out
A tests/cpuinfo_test.py
M vdsm.spec.in
M vdsm/caps.py
12 files changed, 908 insertions(+), 72 deletions(-)

Approvals:
  Nir Soffer: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Francesco Romani: Looks good to me, approved
  Martin Polednik: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa702b05f3825ebdcfed16d86d39a8c38fcf224c
Gerrit-PatchSet: 29
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <mskrivan at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list