From: Ian Campbell Subject: Re: [PATCH v3 12/15] libxl: introduce libxl_retrieve_domain_configuration Date: Tue, 9 Sep 2014 12:41:49 +0100 Message-ID: <1410262909.8217.144.camel@kazak.uk.xensource.com> References: <1409870601-7538-1-git-send-email-wei.liu2@citrix.com> <1409870601-7538-13-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1409870601-7538-13-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-09-04 at 23:43 +0100, Wei Liu wrote: > Introduce a new public API to return domain configuration. This returned > configuration can be used to rebuild a domain. > > Note that this configuration only describes the configuration necessary > to reproduce the guest visible state and does not necessarily include > specific decisions made by the toolstack regarding its current > incarnation (e.g. disk backend) unless they were specified by the > application when the domain was created. > > With this approach we can preserve what user has provided in the > original configuration as well as valuable information from xenstore. > > Signed-off-by: Wei Liu Aside from my concerns about the libxl__get_memory_target interface/implementation this looks good. Ian