ia64/xen-unstable

changeset 6147:058e8087d36a

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).

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Aug 13 09:06:44 2005 +0000 (2005-08-13)
parents f056b0cc171e
children 390b130b3455
files tools/python/xen/xend/server/controller.py
line diff
     1.1 --- a/tools/python/xen/xend/server/controller.py	Sat Aug 13 09:06:20 2005 +0000
     1.2 +++ b/tools/python/xen/xend/server/controller.py	Sat Aug 13 09:06:44 2005 +0000
     1.3 @@ -325,7 +325,7 @@ class DevController:
     1.4          return self.destroyed
     1.5  
     1.6      def getDevice(self, id, error=False):
     1.7 -        dev = self.devices.get(id)
     1.8 +        dev = self.devices.get(int(id))
     1.9          if error and not dev:
    1.10              raise XendError("invalid device id: " + str(id))
    1.11          return dev