From: Ian Campbell Subject: Re: [PATCH 21/24] libxl: convert console callback to libxl_asyncprogress_how Date: Tue, 24 Apr 2012 15:05:11 +0100 Message-ID: <1335276311.4347.150.camel@zakaz.uk.xensource.com> References: <1334596686-8479-1-git-send-email-ian.jackson@eu.citrix.com> <1334596686-8479-22-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1334596686-8479-22-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Stefano Stabellini , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Mon, 2012-04-16 at 18:18 +0100, Ian Jackson wrote: > Remove the old console callback. (Its reentrancy properties were > troublesome: in principle, the event loop might be reentered during > the callback, and the libxl__domain_create_state swept out from under > the feet of the domain creation.) > > As a side effect of the new code arrangements, the console callback > for non-bootloader-using PV guests now occurs near the end of domain > creation, in the same place as for HVM guests, rather than near the > start. > > The new arrangements should in principle mean that by the time the > console is described as ready by the callback, the xenstore key is > indeed ready. So in the future the timeout might be removed from > the console client. > > Signed-off-by: Ian Jackson > Cc: Stefano Stabellini Acked-by: Ian Campbell