Change in ovirt-engine[master]: core: remove unmanaged devices on down VM event

rgolan at redhat.com rgolan at redhat.com
Wed Dec 12 09:05:45 UTC 2012


Roy Golan has submitted this change and it was merged.

Change subject: core: remove unmanaged devices on down VM event
......................................................................


core: remove unmanaged devices on down VM event

unmanaged devices where being removed only by direct stop/shutdown
commands. This patch will move this treatment to be fired by the
eventListener onProcressStopVm so even when a guest VM is shuting down
by its OS function, without th engine, unmanaged devices will be removed

Change-Id: I6593b9cb36fecc87f9b9af574d61300d55d6ad62
Bug-Url: https://bugzilla.redhat.com/846696
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/StopVmCommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmHandler.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmPoolHandler.java
3 files changed, 54 insertions(+), 47 deletions(-)

Approvals:
  Roy Golan: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6593b9cb36fecc87f9b9af574d61300d55d6ad62
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>



More information about the Engine-commits mailing list