Change in vdsm[ovirt-3.4]: agent: number-of-cpus reporting support

ybronhei at redhat.com ybronhei at redhat.com
Tue Apr 29 06:17:23 UTC 2014


Yaniv Bronhaim has submitted this change and it was merged.

Change subject: agent: number-of-cpus reporting support
......................................................................


agent: number-of-cpus reporting support

This patch implements handling of the new message 'number-of-cpus'

The 'count' argument of the message sent by the guest agent is an integer
and represents the number of CPU cores are visible on the guest OS side.
If the value is -1, the reporting is not supported or implemented for the
guest OS.

The value is exposed to the engine via RunningVmStats structure as
'guestCPUCount' value.

Change-Id: I37a4ac7ccf16a7d008f737c16fd1c60293ff2272
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1063281
Guest-Agent-API-Version: 1
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/26530
Reviewed-by: Francesco Romani <fromani at redhat.com>
Reviewed-by: Michal Skrivanek <michal.skrivanek at redhat.com>
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Reviewed-on: http://gerrit.ovirt.org/27035
Reviewed-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M vdsm/guestIF.py
M vdsm_api/vdsmapi-schema.json
2 files changed, 10 insertions(+), 2 deletions(-)

Approvals:
  Yaniv Bronhaim: Looks good to me, approved
  Vinzenz Feenstra: Verified
  Dan Kenigsberg: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I37a4ac7ccf16a7d008f737c16fd1c60293ff2272
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.4
Gerrit-Owner: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list