From: Keir Fraser Subject: Re: Mini-OS and force_evtchn_callback() Date: Fri, 27 Jan 2006 14:41:24 +0000 Message-ID: <7782e3fa7d64c458c05ae177fa29a49b@cl.cam.ac.uk> References: <20060127142748.GH11924@ipdska.ipd.bth.se> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060127142748.GH11924@ipdska.ipd.bth.se> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Simon Kagstrom Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 27 Jan 2006, at 14:27, Simon Kagstrom wrote: > I'm trying to understand the event channel handling more in detail, > and was > playing around a bit with the Mini-OS. However, it does not behave > quite as > I had expected. > > After having done a sti(), I do a force_evtchn_callback() which I > though would > cause an event to be sent to hypervisor_callback(), which was > registered as > the channel callback with HYPERVISOR_set_callacks(). It'll only force a callback if an event is pending. -- Keir