Skip to contentSkip to conversation

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

PATCH RESEND In review Sean Dague 2 participants 2 messages Sep 13, 2005 – Sep 14, 2005

lore
Share & tools
lore

Sean Dague

author
#0 lore raw

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

This is a resend on the patch from late last week as I haven't seen it in the changelog yet. Comments welcomed if there is an issue with the patch.

-Sean

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

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

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

#1 lore raw

Thanks!

Quoted 72 lines · Sean Dague

This is a resend on the patch from late last week as I haven't seen it in the changelog yet. Comments welcomed if there is an issue with the patch.

-Sean

--
__________________________________________________________________

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

---------- Forwarded message ----------
From: Sean Dague <[email protected]>
To: [email protected]
Date: Fri, 9 Sep 2005 15:01:43 -0400
Subject: [PATCH] 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(-)

diff -r 41a74438bcba tools/python/xen/xend/XendDomain.py

tools/python/xen/xend/XendDomain.py Fri Sep 9 14:46:01 2005 renamed from tools/python/xen/xend/XendDomain.py Fri Sep 9 18:36:48 2005 +1 -2
@@ -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
 
 
--

__________________________________________________________________

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

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