mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Fix XendNode when no host state is saved.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
37704ecd82
commit
f2c7f02e99
1 file changed
+1
@@ -74,6 +74,7 @@ class XendNode:
|
||||
self.desc = ''
|
||||
self.other_config = {}
|
||||
self.cpus = {}
|
||||
self.host_metrics_uuid = uuid.createString()
|
||||
|
||||
# load CPU UUIDs
|
||||
saved_cpus = self.state_store.load_state('cpu')
|
||||
|
||||