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

Re: [Xen-devel] [PATCH v2 15/18] libxl: introduce libxl_retrieve_domain_configuration



On Thu, Aug 28, 2014 at 07:17:14PM +0100, Ian Campbell wrote:
> On Thu, 2014-08-28 at 12:39 +0100, Wei Liu wrote:
> > On Wed, Aug 27, 2014 at 03:13:52AM +0100, Ian Campbell wrote:
> > > On Wed, 2014-07-30 at 19:23 +0100, Wei Liu wrote:
> > > > +    /* Domain name */
> > > 
> > > > +    /* Domain UUID */
> > > 
> > > Wasn't there a new libxl__update_domain_configuration which does a bunch
> > > of this for you already?
> > > 
> > 
> > It updates UUID in JSON config but not domain name. I would still prefer
> > to use xenstore as primary reference for information like domain name
> > and UUID etc.
> 
> Calling libxl__update_domain_configuration doesn't violate that though,
> does it? IOW that function uses xenstore as the primary reference for
> the UUID, so why not reuse it instead of open coding it a second time.
> 

No it doesn't read from xenstore or look into hypervisor for most up to
date information, it only copies information from reference d_config to
another.

Wei.

> Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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