Change in ovirt-engine[master]: engine: Use VmDevice.id to identify the vm device instance

masayag at redhat.com masayag at redhat.com
Mon Jun 16 18:36:19 UTC 2014


Moti Asayag has submitted this change and it was merged.

Change subject: engine: Use VmDevice.id to identify the vm device instance
......................................................................


engine: Use VmDevice.id to identify the vm device instance

The VmDevice.Id is sufficient to identify the existence of
the device within a map, rather using the entire device
which could be modified by other flows in the system (i.e.
update boot sequence).

Change-Id: Id0a976e31e97c1f250e29db9166e60ccba4b4a94
Bug-Url: https://bugzilla.redhat.com/1105842
Signed-off-by: Moti Asayag <masayag at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/vm/ActivateDeactivateVmNicCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VM.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/serialization/json/JsonVmMixIn.java
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VmInfoBuilder.java
5 files changed, 9 insertions(+), 8 deletions(-)

Approvals:
  Moti Asayag: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/28456
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id0a976e31e97c1f250e29db9166e60ccba4b4a94
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list