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.

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

Reply via email to