From: "Jan Beulich" Subject: Re: [PATCH RFC/WIP 1/4] Introduce SHUTDOWN_kexec shutdown reason Date: Tue, 26 Aug 2014 13:40:13 +0100 Message-ID: <53FC9C4D020000780002D995@mail.emea.novell.com> References: <1408974146-6519-1-git-send-email-vkuznets@redhat.com> <1408974146-6519-2-git-send-email-vkuznets@redhat.com> <53FC5E93.1070305@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XMG2s-0001Th-7O for xen-devel@lists.xenproject.org; Tue, 26 Aug 2014 12:40:18 +0000 In-Reply-To: <53FC5E93.1070305@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: David Vrabel , xen-devel@lists.xenproject.org, Vitaly Kuznetsov Cc: Andrew Jones List-Id: xen-devel@lists.xenproject.org >>> On 26.08.14 at 12:16, wrote: > On 25/08/14 14:42, Vitaly Kuznetsov wrote: >> --- a/xen/include/public/sched.h >> +++ b/xen/include/public/sched.h >> @@ -158,7 +158,8 @@ DEFINE_XEN_GUEST_HANDLE(sched_watchdog_t); >> #define SHUTDOWN_suspend 2 /* Clean up, save suspend info, kill. > */ >> #define SHUTDOWN_crash 3 /* Tell controller we've crashed. > */ >> #define SHUTDOWN_watchdog 4 /* Restart because watchdog time expired. > */ >> -#define SHUTDOWN_MAX 4 /* Maximum valid shutdown reason. > */ >> +#define SHUTDOWN_kexec 5 /* Soft-reboot for kexec. > */ > > I agree with Jan on the name. > > The documentation also needs to be expanded. It should be clear that > this hypercall may return in a new domain. Perhaps s/may/will/ ? Jan