From: Ewan Mellor Date: Tue, 30 Jan 2007 16:55:51 +0000 (+0000) Subject: Fix XendNode when no host state is saved. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15368^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f2c7f02e99336d0f9c28ab41d7e3a9adb81c5c1e;p=xen.git Fix XendNode when no host state is saved. Signed-off-by: Ewan Mellor --- diff --git a/tools/python/xen/xend/XendNode.py b/tools/python/xen/xend/XendNode.py index e5d5052858..294959752b 100644 --- a/tools/python/xen/xend/XendNode.py +++ b/tools/python/xen/xend/XendNode.py @@ -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')