WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 05/11] libxl: Provide libxl_domain_rename

Vincent Hanquez writes ("Re: [Xen-devel] [PATCH 05/11] libxl: Provide 
libxl_domain_rename"):
> if you want some kind of migration lock, put in xl where you define the 
> policy.

That is exactly what I have done.  The lock is implemented using the
name in xenstore, which xl modifies in a transaction.  However,
following the principle that libxl callers should not access xenstore
directly, this is mediated by the domain rename function.

libxl callers who do not care about the old name when setting the new
one can simply pass 0 for that argument to the rename function.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>