mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Cleanup vif entries in store when domain goes away.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
73429619b1
commit
51a81da82a
1 file changed
+5
@@ -750,6 +750,11 @@ class XendDomainInfo:
|
||||
devdb['node'].getData())
|
||||
typedb[dev].delete()
|
||||
typedb.saveDB(save=True)
|
||||
if type == 'vif':
|
||||
typedb = ddb.addChild(type)
|
||||
for dev in typedb.keys():
|
||||
typedb[dev].delete()
|
||||
typedb.saveDB(save=True)
|
||||
|
||||
def show(self):
|
||||
"""Print virtual machine info.
|
||||
|
||||