Change in ovirt-engine[ovirt-engine-4.0]: core: Fix detach a disk from VM while the VM is running

tnisan at redhat.com tnisan at redhat.com
Wed Jun 29 12:21:32 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: core: Fix detach a disk from VM while the VM is running
......................................................................


core: Fix detach a disk from VM while the VM is running

When detaching a disk from a VM while the VM is running a hot unplug is
needed, for that the interface type of the disk is needed and since it's
not given in the parameters we need to load it from the DB

Change-Id: If2fb5eca7bba17ec1564393ff0c581f9a38f5c39
Signed-off-by: Tal Nisan <tnisan at redhat.com>
Bug-Url: https://bugzilla.redhat.com/1350708
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/disk/DetachDiskFromVmCommand.java
1 file changed, 13 insertions(+), 0 deletions(-)

Approvals:
  Tal Nisan: Verified
  Daniel Erez: Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/59928
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If2fb5eca7bba17ec1564393ff0c581f9a38f5c39
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list