[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Added log message for when a VM is deleted.
# HG changeset patch # User Ewan Mellor <ewan@xxxxxxxxxxxxx> # Node ID 3570295a44cb48203ced895e2a0e898789edf95d # Parent 41381d057ee071fbae3e5823b84946aa6c9c8ee0 Added log message for when a VM is deleted. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> --- tools/python/xen/xend/XendDomain.py | 3 +++ 1 files changed, 3 insertions(+) diff -r 41381d057ee0 -r 3570295a44cb tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Fri Dec 01 13:06:15 2006 +0000 +++ b/tools/python/xen/xend/XendDomain.py Fri Dec 01 13:07:19 2006 +0000 @@ -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) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |