[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] libxl: initialise ao when starting pvqemu for stubdomain
# 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> 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |