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

Re: [Xen-devel] [PATCH] libxl: initialise ao when starting pvqemu for stubdomain



On Thu, 2012-05-17 at 16:39 +0100, Ian Campbell wrote:
> # HG changeset patch
> # User Ian Campbell <ian.campbell@xxxxxxxxxx>
> # Date 1337269180 -3600
> # Node ID 66359ac0c8d9046e0c033d428e0416884c612e33
> # Parent  b01e20b8ab4d17c209f4e86ab31c363754a387cd
> libxl: initialise ao when starting pvqemu for stubdomain.
> 
> libxl__spawn_local_dm requires the ao to be initialised.
> 
> Without this starting an HVM guest with a stub qemu hits the
>     assert(ao->magic == LIBXL__AO_MAGIC);
> in the STATE_AO_GC call from libxl__spawn_local_dm.
> 
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Ian Jackson acked this out of band and I have therefore applied it.

> 
> diff -r b01e20b8ab4d -r 66359ac0c8d9 tools/libxl/libxl_dm.c
> --- a/tools/libxl/libxl_dm.c  Thu May 17 16:39:38 2012 +0100
> +++ b/tools/libxl/libxl_dm.c  Thu May 17 16:39:40 2012 +0100
> @@ -858,6 +858,7 @@ retry_transaction:
>              goto out_free;
>      }
>  
> +    sdss->pvqemu.spawn.ao = ao;
>      sdss->pvqemu.guest_domid = dm_domid;
>      sdss->pvqemu.guest_config = &sdss->dm_config;
>      sdss->pvqemu.build_state = &sdss->dm_state;
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



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


 


Rackspace

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