From: Gianni Tedesco Subject: Re: [PATCH 2 of 4] xl: Introduce libxl_domain_create_new() and libxl_domain_create_restore() Date: Fri, 7 Jan 2011 12:58:56 +0000 Message-ID: <1294405136.12018.40.camel@qabil.uk.xensource.com> References: <19750.723.163429.549792@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: Ian Campbell , "xen-devel@lists.xensource.com" , Ian Jackson List-Id: xen-devel@lists.xenproject.org On Thu, 2011-01-06 at 19:34 +0000, Stefano Stabellini wrote: > On Thu, 6 Jan 2011, Ian Jackson wrote: > > Gianni Tedesco writes ("[Xen-devel] [PATCH 2 of 4] xl: Introduce libxl_domain_create_new() and libxl_domain_create_restore()"): > > > xl: Introduce libxl_domain_create_new() and libxl_domain_create_restore() > > > > This patch looks reasonable to me - at least, the API seems sensible > > to me. I didn't diff all of the shuffled-about code :-). > > > > I'll wait for an ack from Stefano too though. > > Thanks. > > I think the patch is overall correct but please make sure to test it > with stubdoms at least once. OK, I'll do a thorough round of testing before submitting next version. I may have found an error in there anyway but I need to chase that one down to be sure. > Also I think we need to move all the init_*_info functions to libxl too, > in order to provide sensible defaults for libxl_domain_config *d_config. Yeah, I just realised that last night. To be honest there's a lot of duplicated fields in those structures so that they may be better off being re-organised somehow anyway. I'll see what I can come up with. Gianni