Tal Nisan has submitted this change and it was merged.
Change subject: core: set boot order index 0 for unmanaged nic
......................................................................
core: set boot order index 0 for unmanaged nic
This patch fix NPE which was thrown when computing boot order for a VM
that has unmanaged network interface. The boot order index for unmanaged
network interfaces will now be 0.
Change-Id: If299f5c10dbfd15cf5ebe01f6d7911a7f92eb56f
Bug-Url:
https://bugzilla.redhat.com/1155667
Signed-off-by: Arik Hadas <ahadas(a)redhat.com>
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/VmDeviceCommonUtils.java
M
backend/manager/modules/common/src/test/java/org/ovirt/engine/core/common/utils/VmDeviceCommonUtilsTest.java
2 files changed, 23 insertions(+), 9 deletions(-)
Approvals:
Omer Frenkel: Looks good to me, approved
Arik Hadas: Verified
--
To view, visit
http://gerrit.ovirt.org/34749
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If299f5c10dbfd15cf5ebe01f6d7911a7f92eb56f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server