Change in ovirt-engine[master]: core: Update getTotalMemorySizeInBytes
ahadas at redhat.com
ahadas at redhat.com
Thu May 12 06:41:56 UTC 2016
Arik Hadas has submitted this change and it was merged.
Change subject: core: Update getTotalMemorySizeInBytes
......................................................................
core: Update getTotalMemorySizeInBytes
VM.getTotalMemorySizeInBytes apparently uses outdated value for
computing VM's video RAM. This patch retrieves video RAM size from the
corresponding helper.
We must move the method to modules/bll so that we are able to use the
video RAM size helper. We also renamed the method to be more
distinctive from the recently introduced getTotalRequiredMemoryInMb
method.
Change-Id: I2f0fd1ae3f1894b51ee8983725c8763dafbb0503
Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/HibernateVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/exportimport/ExportVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/exportimport/ImportVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/memory/MemoryUtils.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/CreateAllSnapshotsFromVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmUtils.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/snapshots/CreateAllSnapshotsFromVmCommandTest.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java
8 files changed, 32 insertions(+), 17 deletions(-)
Approvals:
Arik Hadas: Looks good to me, approved; Passed CI tests
Milan Zamazal: Verified
Objections:
Jenkins CI: Failed CI tests
--
To view, visit https://gerrit.ovirt.org/56923
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2f0fd1ae3f1894b51ee8983725c8763dafbb0503
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Milan Zamazal <mzamazal at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Milan Zamazal <mzamazal at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list