From: Ian Jackson Subject: Re: [PATCH v2 5/5] libxl: spawns two QEMUs for HVM guests Date: Mon, 8 Jun 2015 17:39:39 +0100 Message-ID: <21877.50507.506479.620721@mariner.uk.xensource.com> References: <1433417299-3568-5-git-send-email-stefano.stabellini@eu.citrix.com> <20150607115251.GU29102@zion.uk.xensource.com> <21877.47166.670829.722550@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: xen-devel@lists.xensource.com, Wei Liu , Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Stefano Stabellini writes ("Re: [PATCH v2 5/5] libxl: spawns two QEMUs for HVM guests"): > Do you have any suggestions on how I could fix this function for the > purpose of this series? I would be quite happy to leave fixing > qdisk_spawn_outcome in libxl.c to you :-) Sure. > TBH as I wrote earlier, the failure of starting pv QEMU is not fatal > from the guest POV, so we could also leave it as is. You need to collect the result anyway to avoid potentially leaking a pending callback and tearing down a still-active ao. I think the right answer is probably to start all the qemus in parallel, and count (or otherwise record) the spawn outcomes. Ian.