mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
Added log message for when a VM is deleted.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
c7a44ef04b
commit
2f61385eed
1 file changed
+3
@@ -929,6 +929,9 @@ class XendDomain:
|
||||
if dominfo.state != DOM_STATE_HALTED:
|
||||
raise XendError("Domain is still running")
|
||||
|
||||
log.info("Domain %s (%s) deleted." %
|
||||
(dominfo.getName(), dominfo.info.get('uuid')))
|
||||
|
||||
self._managed_domain_unregister(dominfo)
|
||||
self._remove_domain(dominfo)
|
||||
XendDevices.destroy_device_state(dominfo)
|
||||
|
||||