From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH 1/3] libxc/xc_domain_resume: Update comment. Date: Mon, 25 Jan 2016 16:06:55 -0500 Message-ID: <1453756017-8747-2-git-send-email-konrad.wilk@oracle.com> References: <1453756017-8747-1-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aNoM2-0000V8-BD for xen-devel@lists.xenproject.org; Mon, 25 Jan 2016 21:07:18 +0000 In-Reply-To: <1453756017-8747-1-git-send-email-konrad.wilk@oracle.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: xen-devel@lists.xenproject.org, ian.campbell@citrix.com, wei.liu2@citrix.com, ian.jackson@eu.citrix.com Cc: Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org To hopefully clarify what it meant. Signed-off-by: Konrad Rzeszutek Wilk --- tools/libxc/xc_resume.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/libxc/xc_resume.c b/tools/libxc/xc_resume.c index 87d4324..19ba2a3 100644 --- a/tools/libxc/xc_resume.c +++ b/tools/libxc/xc_resume.c @@ -248,9 +248,12 @@ out: /* * Resume execution of a domain after suspend shutdown. * This can happen in one of two ways: - * 1. Resume with special return code. - * 2. Reset guest environment so it believes it is resumed in a new + * 1. (fast=1) Resume with special return code (1) that the guest + * gets from SCHEDOP_shutdown:SHUTDOWN_suspend. + * + * 2. (fast=0) Reset guest environment so it believes it is resumed in a new * domain context. + * * (2) should be used only for guests which cannot handle the special * new return code. (1) is always safe (but slower). */ -- 2.4.3