Jiří Moskovčák has uploaded a new change for review. Change subject: userportal, webadmin: don't enable balloon on ppc arch (part2) ......................................................................
userportal, webadmin: don't enable balloon on ppc arch (part2) The memory ballooning doesn't work on ppc so neither portal nor admin should allow to set it. This patch fixes problem introduced by the first patch which prevents user from enabling the baloon on x86 arch. Bug-Url: https://bugzilla.redhat.com/1127677 Change-Id: Iea925ae11f1a05e857e102e932876d8b5a9fb0fc Signed-off-by: Jiri Moskovcak <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/42/32242/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java index dd98c00..e3e4c03 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java @@ -755,7 +755,7 @@ VDSGroup cluster = getModel().getSelectedCluster(); boolean hasMemoryBalloon = (cluster.getcompatibility_version() .compareTo(VmListModel.BALLOON_DEVICE_MIN_VERSION) >= 0 - && cluster.getArchitecture() + && !cluster.getArchitecture() .equals(VmListModel.BALLOON_DEVICE_BLACKLISTED_ARCH)); getModel().getMemoryBalloonDeviceEnabled().setIsAvailable(hasMemoryBalloon); -- To view, visit http://gerrit.ovirt.org/32242 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iea925ae11f1a05e857e102e932876d8b5a9fb0fc Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Jiří Moskovčák <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
