From: Keir Fraser Subject: Re: Question to console input events Date: Thu, 11 Jan 2007 08:32:59 +0000 Message-ID: References: <200701110904.26337.dietmar.hahn@fujitsu-siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200701110904.26337.dietmar.hahn@fujitsu-siemens.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dietmar Hahn , xen-devel List-Id: xen-devel@lists.xenproject.org On 11/1/07 8:04 am, "Dietmar Hahn" wrote: > I try to port the mini-os to ia64 and have a problem with using hypervisor > call: > HYPERVISOR_sched_op(SCHEDOP_block, 0); > to block the domU. > The problem is, that the domU never (or a very short time) gets blocked > because the domU gets lots of console events. But all the time no data are in > the console input buffer. > Can anybody explain where and when the console events are generated therewidth > I can have a look in the source. The other end of the event channel is held by the console daemon. Its code is in tools/console/daemon. Look for its uses of xc_evtchn_notify(). -- Keir