Amit Aviram has posted comments on this change.

Change subject: vm.py: State saving in hotunplugDisk.
......................................................................


Patch Set 2:

(2 comments)

https://gerrit.ovirt.org/#/c/45928/2/vdsm/virt/vm.py
File vdsm/virt/vm.py:

Line 4038
Line 4039
Line 4040
Line 4041
Line 4042
> In 3.5 you must remove the domainID from the sdIds list.
Done


Line 4046:             self.log.error("Hotunplug failed", exc_info=True)
Line 4047:             if e.get_error_code() == libvirt.VIR_ERR_NO_DOMAIN:
Line 4048:                 return response.error('noVM')
Line 4049:             return response.error('hotunplugDisk', e.message)
Line 4050:         else:
> Done
sdIds will be only removed after detach success, so no need for this part 
anyway (That's part of what this patch is doing)
Line 4051:             self._devices[hwclass.DISK].remove(drive)
Line 4052: 
Line 4053:             # Find and remove disk device from vm's conf
Line 4054:             for dev in self.conf['devices'][:]:


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I2cf18186cbba33d7e74fd15651ffec3149c98e1d
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Tal Nisan <[email protected]>
Gerrit-Reviewer: Amit Aviram <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to