Vitor de Lima has uploaded a new change for review. Change subject: webadmin: Fix balloon while creating VMs from snapshots ......................................................................
webadmin: Fix balloon while creating VMs from snapshots During the creation of VMs from snapshots, the memory ballooning device was always created even when the original VM had it disabled. This patch fixes this by passing to the AddVmFromSnapshot command the state of the ballooning device from the original VM. Change-Id: I263abb8f3b170e6668e2e93b79700848bf056b57 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1152659 Signed-off-by: Vitor de Lima <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmSnapshotListModel.java 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/19/34419/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmSnapshotListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmSnapshotListModel.java index 65c4a808..62c98ea 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmSnapshotListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmSnapshotListModel.java @@ -716,6 +716,7 @@ setupAddVmFromSnapshotParameters(parameters); parameters.setConsoleEnabled(model.getIsConsoleDeviceEnabled().getEntity()); parameters.setVirtioScsiEnabled(model.getIsVirtioScsiEnabled().getEntity()); + parameters.setBalloonEnabled(model.getMemoryBalloonDeviceEnabled().getEntity()); model.startProgress(null); -- To view, visit http://gerrit.ovirt.org/34419 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I263abb8f3b170e6668e2e93b79700848bf056b57 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Vitor de Lima <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
