[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 16/19] libxl: suspend: Abolish usleeps in domain suspend wait

On Fri, 2014-03-14 at 17:41 +0000, Ian Jackson wrote:
> Ian Jackson writes ("Re: [PATCH 16/19] libxl: suspend: Abolish usleeps in 
> domain suspend wait"):
> > Reading xenstored_core.c suggests both read and write give EINVAL.  So
> > making xswait work for it would indeed involve special-casing @ in
> > libxl.
> I looked at how this would seem in the API and it's very simple.  See
> below.
> I think I should probably add this to my series and use it in the
> later patch.
> Ian.
> From 41abced84e669449a926ca38a78194a2188c7cff Mon Sep 17 00:00:00 2001
> From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
> Date: Fri, 14 Mar 2014 17:38:38 +0000
> Subject: [PATCH] libxl: events: libxl__xswait* support @paths
> Special-case paths starting with '@' in libxl__xswait.  Attempting to
> read these from xenstore gives EINVAL.  Callers waiting for (say)
> @releaseDomain will be checking for some condition which can be
> observed other than by looking at xenstore.
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

(including if you fold it into the original xswait patch)

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.