From: Ian Campbell Subject: Re: [PATCH 2/6] xen/hvm kexec: unregister shutdown+sysrq watches during reboot Date: Thu, 28 Jul 2011 13:52:05 +0100 Message-ID: <1311857525.24408.125.camel@cthulhu.hellion.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Olaf Hering , "xen-devel@lists.xensource.com" , Jan Beulich List-Id: xen-devel@lists.xenproject.org On Thu, 2011-07-28 at 07:00 -0400, Keir Fraser wrote: > On 28/07/2011 11:52, "Ian Campbell" wrote: > > >> And what about the event/irq handling? There is currently no way > >> to check what virq is bound to what port, other than looping through all > >> possible ports and see if one matches the requested virq. > > > > There is EVTCHNOP_reset but I'm not sure if it does too much. For > > example I'm not sure how the guest could recover event channels which > > are setup by the domain builder -- such as the xenstore event channel. > > EVTCHNOP_reset is currently only called from the toolstack, which is then > able to re-setup things like the xenstore event channel for the guest. Oh, right. And toolstack isn't involved in kexec so that's not terribly helpful. Ian.