Roy Golan has uploaded a new change for review. Change subject: WIP - libosinfo - fix getos() getter ......................................................................
WIP - libosinfo - fix getos() getter Change-Id: I4fd963ae8c81827a16998cca38326eb24d81a0b7 Signed-off-by: Roy Golan <[email protected]> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/62/9062/1 diff --git a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java index 21def3a..3ec5919 100644 --- a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java +++ b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmDeviceUtils.java @@ -92,7 +92,7 @@ */ private static void updateAudioDevice(VM oldVm, VmBase newVmBase) { // for desktop, if the os type has changed, recreate Audio devices - if (newVmBase.getvm_type() == VmType.Desktop && oldVm.getos() != newVmBase.getos()) { + if (newVmBase.getvm_type() == VmType.Desktop && oldVm.getvm_os() != newVmBase.getos()) { Guid vmId = oldVm.getId(); // remove any old sound device List<VmDevice> list = -- To view, visit http://gerrit.ovirt.org/9062 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4fd963ae8c81827a16998cca38326eb24d81a0b7 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Roy Golan <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
