From: Ian Jackson Subject: Re: [PATCH 1/3] libxc/xc_domain_resume: Update comment. Date: Tue, 26 Jan 2016 16:22:20 +0000 Message-ID: <22183.40252.314004.359086@mariner.uk.xensource.com> References: <1453756017-8747-1-git-send-email-konrad.wilk@oracle.com> <1453756017-8747-2-git-send-email-konrad.wilk@oracle.com> <1453825194.25257.31.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aO6OP-0003WC-II for xen-devel@lists.xenproject.org; Tue, 26 Jan 2016 16:22:57 +0000 In-Reply-To: <1453825194.25257.31.camel@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 Campbell Cc: xen-devel@lists.xenproject.org, wei.liu2@citrix.com List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH 1/3] libxc/xc_domain_resume: Update commen= t."): > On Mon, 2016-01-25 at 16:06 -0500, Konrad Rzeszutek Wilk wrote: > > To hopefully clarify what it meant. ... > > + *=A0=A01. (fast=3D1) Resume with special return code (1) that the gue= st > > + *=A0=A0=A0=A0=A0gets from SCHEDOP_shutdown:SHUTDOWN_suspend. > = > "SCHEDOP_shutdown(SHUTDOWN_suspend)" looks more like the function call > which this in effect is. > = > I think I'd say "Resume the guest without resetting the domain environmen= t. > The guests's call to SCHEDOP_shutdown(SHUTDOWN_suspend) will return 1". > = > (assuming that is true re resetting) I'm not sure that `will return 1' is correct. IIRC there is some ... unpleasantness here, with something effectively corrupting the guest state in a way that the guest is supposed to expect and cooperate with. I haven't investigated the details recently. I do remember it being fiddly. Ian.