Omer Frenkel has submitted this change and it was merged.
Change subject: core, engine: Fix balloon detection during VM import
......................................................................
core, engine: Fix balloon detection during VM import
The canDoAction method of the ImportVmCommand was not properly checking
for the presence of ballooning devices and always blocked the importing
of ppc64 VMs. This patch fixes this issue.
Change-Id: If660e368d7ec31ff1f8251d483971ffbf0bd858a
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1152560
Signed-off-by: Vitor de Lima <vdelima(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
M
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ImportVMFromConfigurationCommandTest.java
M
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/ImportVmCommandTest.java
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/VmDeviceCommonUtils.java
4 files changed, 42 insertions(+), 3 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/34383
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If660e368d7ec31ff1f8251d483971ffbf0bd858a
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vitor de Lima <vdelima(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Vitor de Lima <vdelima(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server