Skip to contentSkip to conversation

Call dominfo.device_delete instead of non-existant dominfo.device_destroy

PATCH Superseded Sean Dague 1 participant 1 message Sep 9, 2005

lore
Share & tools
lore

Sean Dague

author
#0 lore raw

PATCH 1/1 Call dominfo.device_delete instead of non-existant dominfo.device_destroy

This patch changes the device destruction function to one that exists in in the XendDomainInfo class, instead of a non existent method.

Diffstat output:

 XendDomain.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
tools/python/xen/xend/XendDomain.py +1 -1
diff -r 41a74438bcba tools/python/xen/xend/XendDomain.py
@@ -667,7 +667,7 @@
         @param type: device type
         """
         dominfo = self.domain_lookup(id)
-        val = dominfo.device_destroy(type, devid)
+        val = dominfo.device_delete(type, devid)
         dominfo.exportToDB()
         return val
 
Signature · 9 lines
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel