|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.2-testing] Xend forgets to write the domain's VDI
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206014980 0
# Node ID cae811c3168ce47ed176b0cb44a429ea993fa9a8
# Parent edd478c24733e13d59fc82cac439f2f91d6e05e7
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@xxxxxxxxxx>
xen-unstable changeset: 17230:5cbfc6c24d3201ec93b722bc91350be38991c177
xen-unstable date: Tue Mar 18 13:14:26 2008 +0000
---
tools/python/xen/xend/XendConfig.py | 1 +
1 files changed, 1 insertion(+)
diff -r edd478c24733 -r cae811c3168c tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py Thu Mar 20 12:08:09 2008 +0000
+++ b/tools/python/xen/xend/XendConfig.py Thu Mar 20 12:09:40 2008 +0000
@@ -930,6 +930,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])
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.2-testing] Xend forgets to write the domain's VDI UUID into the domain state file,
Xen patchbot-3.2-testing <=
|
|
|
|
|