From: Keir Fraser Subject: Re: pv-on-hvm kexec, howto reregister timer interrupt Date: Sat, 23 Jul 2011 10:55:06 +0100 Message-ID: References: <1311408105.4027.80.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1311408105.4027.80.camel@dagon.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Olaf Hering , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 23/07/2011 09:01, "Ian Campbell" wrote: >> Sounbds like it's simply some Linux-guest issue here to be untangled. All >> Xen requires you to do is EVTCHNOP_close the old virq-evtchn binding. > > That might be tricky to do in the target kernel, which may not know what > needs closing. There's EVTCHNOP_reset which looks like it would be a > sensible thing to call early on in the target but seems like it would > close to much -- e.g. the xenstore evtchn? If you can't do it in the source kernel (e.g., because it's crashed) the best bet is to call EVTCHN_status on every port to find the channels you want to clobber. Which is what Olaf hacked up already I believe, just needs integrating cleanly. -- Keir