|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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
Attachment:
XendConfig_create_vdi.diff _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |