Shahar Havivi has uploaded a new change for review. Change subject: engine: no need to save vm_static on run once ......................................................................
engine: no need to save vm_static on run once Change-Id: Idb5c0da8b0257a7751255665f4160391a1e3b2a5 Bug-Url: https://bugzilla.redhat.com/1108676 Signed-off-by: Shahar Havivi <shah...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java 1 file changed, 0 insertions(+), 5 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/16/29416/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java index 910ba40..6a93285 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java @@ -8,7 +8,6 @@ import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; - import org.apache.commons.lang.StringUtils; import org.ovirt.engine.core.bll.context.CommandContext; import org.ovirt.engine.core.bll.job.ExecutionContext; @@ -605,10 +604,6 @@ getVm().setInitializationType(getParameters().getInitializationType()); } - // if we attach floppy we don't need the sysprep - if (!getVm().isRunOnce() && !StringUtils.isEmpty(getParameters().getFloppyPath())) { - getVmStaticDAO().update(getVm().getStaticData()); - } // get what cpu flags should be passed to vdsm according to cluster // cpu name getVm().setVdsGroupCpuFlagsData( -- To view, visit http://gerrit.ovirt.org/29416 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idb5c0da8b0257a7751255665f4160391a1e3b2a5 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.4 Gerrit-Owner: Shahar Havivi <shav...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches