Arik Hadas has submitted this change and it was merged.
Change subject: core: New method VmDeviceUtils.getTotalRequiredMemoryInMb
......................................................................
core: New method VmDeviceUtils.getTotalRequiredMemoryInMb
The method computes total RAM requirements of running a VM.
It's intended to be used in planning.
Change-Id: I5151b2326e1bfbfb5dbd8715e931d2438397f0bf
Bug-Url:
https://bugzilla.redhat.com/1304346
Signed-off-by: Milan Zamazal <mzamazal(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VideoDeviceSettings.java
A backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmUtils.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/VmCommonUtils.java
M
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VmInfoBuilderBase.java
4 files changed, 117 insertions(+), 42 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Shmuel Leib Melamud: Looks good to me, but someone else must approve
Arik Hadas: Looks good to me, approved
Milan Zamazal: Verified
--
To view, visit
https://gerrit.ovirt.org/56921
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5151b2326e1bfbfb5dbd8715e931d2438397f0bf
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Milan Zamazal <mzamazal(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Milan Zamazal <mzamazal(a)redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>