[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.