From: Ian Campbell Subject: Re: [PATCH] Add a device_model_machine option for HVM domains to libxl. Date: Wed, 19 Jun 2013 09:47:57 +0100 Message-ID: <1371631677.22783.74.camel@zakaz.uk.xensource.com> References: <1371476413-7158-1-git-send-email-paul.durrant@citrix.com> <1371629392.22783.50.camel@zakaz.uk.xensource.com> <9AAE0902D5BC7E449B7C8E4E778ABCD004B488@LONPEX01CL01.citrite.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD004B488@LONPEX01CL01.citrite.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Paul Durrant Cc: "xen-devel@lists.xen.org" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, 2013-06-19 at 09:29 +0100, Paul Durrant wrote: > > > + b_info->u.hvm.machine = > > LIBXL_DEVICE_MODEL_HVM_MACHINE_DEFAULT; > > > > This isn't needed, libxl_domain_build_info_init() will DTRT here. > > > > That's what I thought. But without that line I seem to get some random value. Weird. The autogenerated function "libxl_domain_build_info_init_type" should have coped with this, can you post its content? Ian.