ia64/xen-unstable

changeset 12729:3570295a44cb

Added log message for when a VM is deleted.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Dec 01 13:07:19 2006 +0000 (2006-12-01)
parents 41381d057ee0
children 056050ceb300
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Fri Dec 01 13:06:15 2006 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Fri Dec 01 13:07:19 2006 +0000
     1.3 @@ -929,6 +929,9 @@ class XendDomain:
     1.4                  if dominfo.state != DOM_STATE_HALTED:
     1.5                      raise XendError("Domain is still running")
     1.6  
     1.7 +                log.info("Domain %s (%s) deleted." %
     1.8 +                         (dominfo.getName(), dominfo.info.get('uuid')))
     1.9 +
    1.10                  self._managed_domain_unregister(dominfo)
    1.11                  self._remove_domain(dominfo)
    1.12                  XendDevices.destroy_device_state(dominfo)