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

Re: [Xen-devel] [PATCH] xl: Fix assertion on domain reboot with new configuration



On Thu, Feb 02, 2017 at 11:26:16AM +0000, Wei Liu wrote:
> On Mon, Jan 30, 2017 at 03:33:18PM +0100, Fatih Acar wrote:
> > libxl_domain_build_info_dispose is not resetting the type field to 
> > LIBXL_DOMAIN_TYPE_INVALID.
> > Instead, it is memseting the struct to 0 thus when 
> > libxl_domain_build_info_init_type is called
> > after a dispose on the same struct, an assertion is triggered because type 
> > != LIBXL_DOMAIN_TYPE_INVALID.
> > Calling libxl_domain_build_info_init makes sure the type field is correctly 
> > initialized.
> > 
> > Signed-off-by: Fatih Acar <fatih.acar@xxxxxxxxx>
> > Signed-off-by: Nikita Kozlov <nikita.kozlov@xxxxxxxxx>
> > Signed-off-by: Vincent Legout <vincent.legout@xxxxxxxxx>
> > Signed-off-by: Baptiste Daroussin <baptiste.daroussin@xxxxxxxxx>
> 
> Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Applied.

Ian, this should be backported to all supported versions (>= 4.5 IIRC).

Wei.

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

 


Rackspace

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