Change in ovirt-engine[ovirt-engine-4.1]: core: RunVmCommand - Emulated Machine conforms the CCV

From Tal Nisan <tnisan@redhat.com>:
Tal Nisan has submitted this change and it was merged. Change subject: core: RunVmCommand - Emulated Machine conforms the CCV ...................................................................... core: RunVmCommand - Emulated Machine conforms the CCV RunVmCommand selects 'default' Emulated Machine corresponding to the Custom Compatibility Version, if set. The selection is based on best-match heuristics to match the platform (recent default cluster emulated machine vs. vdc_options.ClusterEmulatedMachine). The issue was originaly identified for preview of snapshot with memory originating in previous cluster version (before cluster upgrade). In that flow, the CCV is set for the previewed snapshot to retain VM configuration, including the emulated machine. Change-Id: I029441010cfd4c3b47fbe687c96748aced565bae Bug-Url: https://bugzilla.redhat.com/1364456 Signed-off-by: Marek Libra <mlibra@redhat.com> Signed-off-by: Arik Hadas <ahadas@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/RunVmCommandTest.java 2 files changed, 61 insertions(+), 3 deletions(-) Approvals: Shahar Havivi: Looks good to me, approved Jenkins CI: Passed CI tests Marek Libra: Verified -- To view, visit https://gerrit.ovirt.org/70463 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I029441010cfd4c3b47fbe687c96748aced565bae Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-4.1 Gerrit-Owner: Marek Libra <mlibra@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Marek Libra <mlibra@redhat.com> Gerrit-Reviewer: Shahar Havivi <shavivi@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review