mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Call dominfo.device_delete instead of non-existant dominfo.device_destroy.
Signed-off-by: Sean Dague <sean@dague.net> Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
3886819443
commit
714ecf5c5b
1 file changed
+1
-1
@@ -673,7 +673,7 @@ class XendDomain:
|
||||
@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
|
||||
|
||||
|
||||