ia64/xen-unstable

changeset 13758:749c7d8e4514

Fix XendNode when no host state is saved.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Jan 30 16:55:51 2007 +0000 (2007-01-30)
parents 3b0b70a4fd62
children 6d8a099a152d
files tools/python/xen/xend/XendNode.py
line diff
     1.1 --- a/tools/python/xen/xend/XendNode.py	Tue Jan 30 16:32:50 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendNode.py	Tue Jan 30 16:55:51 2007 +0000
     1.3 @@ -74,6 +74,7 @@ class XendNode:
     1.4              self.desc = ''
     1.5              self.other_config = {}
     1.6              self.cpus = {}
     1.7 +            self.host_metrics_uuid = uuid.createString()
     1.8              
     1.9          # load CPU UUIDs
    1.10          saved_cpus = self.state_store.load_state('cpu')