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.a...@gandi.net>
> > Signed-off-by: Nikita Kozlov <nikita.koz...@gandi.net>
> > Signed-off-by: Vincent Legout <vincent.leg...@gandi.net>
> > Signed-off-by: Baptiste Daroussin <baptiste.darous...@gandi.net>
> 
> Acked-by: Wei Liu <wei.l...@citrix.com>

Applied.

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

Wei.

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

Reply via email to