Xend forgets to write the domain's VDI UUID into the domain state file

once the domain is started (before it's there). Once xend is restarted
it will not know the association between the VBD and VDI anymore due
to the missing UUID. This patch fixes this.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
This commit is contained in:
Keir Fraser committed 2008-03-18 13:14:26 +00:00
1 parent a5678887cc
commit 751e5ae7c3
1 file changed
+1
+1
View File
@@ -991,6 +991,7 @@ class XendConfig(dict):
dev_type, dev_cfg = self['devices'][dev_uuid]
is_bootable = dev_cfg.get('bootable', 0)
config.append(['bootable', int(is_bootable)])
config.append(['VDI'], dev_cfg.get('VDI', ''))
sxpr.append(['device', config])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.