From: "Jan Beulich" Subject: Re: [PATCH] evtchn: make EVTCHNOP_reset suitable for kexec Date: Mon, 28 Jul 2014 07:18:23 +0100 Message-ID: <53D6074F02000078000265C4@mail.emea.novell.com> References: <1406303329-21724-1-git-send-email-vkuznets@redhat.com> <53D29D5F020000780002622D@mail.emea.novell.com> <53D282CB.9050904@citrix.com> <53D28497.9070502@citrix.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 1XBeGT-0003br-Qd for xen-devel@lists.xenproject.org; Mon, 28 Jul 2014 06:18:29 +0000 In-Reply-To: <53D28497.9070502@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: Andrew Cooper , Vitaly Kuznetsov Cc: xen-devel@lists.xenproject.org, Andrew Jones , DavidVrabel , Ian Campbell List-Id: xen-devel@lists.xenproject.org >>> On 25.07.14 at 18:23, wrote: > Right - digging into the history shows that this was introduced 7 years > ago as a mixed toolstack or use-on-self hypercall. In the toolstack > case, clearing all channels unconditionally is fine as the toolstack can > reset the xenstore/console event channels. > > However, when using it with DOMID_SELF, the domain will clobber itself > irrevocably. > > I think it would be acceptable to reset the console and store event > channels if and only if current->domain != d To that I agree. Jan