Pascal Bouchareine
2007-May-18  14:10 UTC
[Xen-devel] RFC: Migration and VBD/SR/VDI creation
Hi,
When migrating a domain, the VDI definition is not recreated
building the VBD, hence loosing API access to the VBD location & al
({''VDI'' : ''''}).
The attached patch is an attempt to recreate the VDI in XendConfig.device_add
(in the ''Local'' SR, eventually some other) when using an
sxp_obj (I guess
the SR/VDI is always defined when using a xenapi_cfg).
Is this an acceptable idea ?
I missed a lot of things reading the code, so someone might want to
check this is not too horrible and doesn''t break anything.
Cheers,
Pascal
-- 
\o/   Pascal Bouchareine - Gandi 
 g    0170393757           15, place de la Nation - 75011 Paris      
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel