Fix xm block-destroy
PATCH 1/1 Fix xm block-destroy
If block-create didn't work, then chances are block-destroy doesn't work either right :-)
In this case, XendDomain.py is just calling a function that doesn't exist (device_destroy instead of device_delete).
Regards,
Anthony Liguori
Signed-off-by Anthony Liguori <[email protected]>
# HG changeset patch
# User Anthony Liguori <[email protected]>
# Node ID 73fccd848200b63230002b2d96df897ab232627a # Parent 17e1b03d6932fa4eb827d61fd7cb32c04213e421 Types do matter in dictionaries, this fixes xm block-destroy
tools/python/xen/xend/server/controller.py +1 -1
@@ -325,7 +325,7 @@ return self.destroyed def getDevice(self, id, error=False): - dev = self.devices.get(id) + dev = self.devices.get(int(id)) if error and not dev: raise XendError("invalid device id: " + str(id)) return dev
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel