From 2030978b6ad0bb2f9bbbcfffb8e65da6ae8431e9 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 18 May 2012 13:40:00 +0100 Subject: [PATCH] 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 Acked-by: Ian Jackson Committed-by: Ian Campbell --- tools/libxl/libxl_dm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index 4ad7d0216e..b1ca9db19a 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -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; -- 2.39.5