Change in vdsm[master]: vm: Fix broken hotunplugDisk

ykaplan at redhat.com ykaplan at redhat.com
Wed Aug 7 08:42:11 UTC 2013


Yeela Kaplan has uploaded a new change for review.

Change subject: vm: Fix broken hotunplugDisk
......................................................................

vm: Fix broken hotunplugDisk

hotunplugDisk was broken by commit:
I4a19380c26ff4b6b697455e060dab4c651ff3f7c

Change-Id: I964ba4d117808254e9e9b4dd8a98d8c61457bf13
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M vdsm/vm.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/43/17743/1

diff --git a/vdsm/vm.py b/vdsm/vm.py
index f9b4666..1fc53b1 100644
--- a/vdsm/vm.py
+++ b/vdsm/vm.py
@@ -3294,7 +3294,7 @@
         driveXml = drive.getXML().toprettyxml(encoding='utf-8')
         self.log.debug("Hotunplug disk xml: %s", driveXml)
         # Remove found disk from vm's drives list
-        if isVdsmImage(drive):
+        if drive.isVdsmImage():
             self.sdIds.remove(drive['domainID'])
         self._devices[DISK_DEVICES].remove(drive)
         # Find and remove disk device from vm's conf


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I964ba4d117808254e9e9b4dd8a98d8c61457bf13
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>


More information about the vdsm-patches mailing list