Martin Betak has uploaded a new change for review. Change subject: backend: Log iso name in RunVmCommand ......................................................................
backend: Log iso name in RunVmCommand RunVmCommand now logs the name of attached iso, if any. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1034063 Change-Id: I6835d986b67c1dd457b14af8c948750c72e10ba8 Signed-off-by: Martin Betak <mbe...@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java 1 file changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/53/22253/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 fe4176f..c8feea9 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 @@ -429,7 +429,11 @@ getVm().setLastStartTime(new Date()); - getVm().setCdPath(cdPathWindowsToLinux(chooseCd())); + final String cdPath = chooseCd(); + if (StringUtils.isNotEmpty(cdPath)) { + log.infoFormat("Running VM with attached cd {0}", cdPath); + } + getVm().setCdPath(cdPathWindowsToLinux(cdPath)); if (!StringUtils.isEmpty(getParameters().getFloppyPath())) { getVm().setFloppyPath(cdPathWindowsToLinux(getParameters().getFloppyPath())); -- To view, visit http://gerrit.ovirt.org/22253 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6835d986b67c1dd457b14af8c948750c72e10ba8 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Betak <mbe...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches