From: Dietmar Hahn Subject: Re: Question to console input events Date: Thu, 11 Jan 2007 14:45:46 +0100 Message-ID: <200701111445.46187.dietmar.hahn@fujitsu-siemens.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline 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: xen-devel List-Id: xen-devel@lists.xenproject.org Am Donnerstag, 11. Januar 2007 09:32 schrieb Keir Fraser: > 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 Hi Keir, many thanks for your hint! Now I understand the concept and my problem. Thanks. Dietmar.