From: Ian Campbell Subject: Re: [PATCH 18/22] libxl: suspend: Async xenstore pvcontrol wait Date: Mon, 17 Mar 2014 13:39:10 +0000 Message-ID: <1395063550.18221.19.camel@kazak.uk.xensource.com> References: <1395063006-6671-1-git-send-email-ian.jackson@eu.citrix.com> <1395063006-6671-19-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: <1395063006-6671-19-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: Shriram Rajagopalan , xen-devel@lists.xensource.com, Lai Jiangshan , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 2014-03-17 at 13:30 +0000, Ian Jackson wrote: > When negotiating guest suspend via the xenstore pvcontrol protocol > (ie when the guest does NOT support the evtchn fast suspend protocol): > > Replace the use of loops and usleep with a call to libxl__xswait. > > Also, replace the xenstore transaction loop with one using > libxl__xs_transaction_start et al. > > There is not intended to be any semantic change, other than to make > the algorithm properly asynchronous. > > Signed-off-by: Ian Jackson > CC: Stefano Stabellini Acked-by: Ian Campbell