WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Question to console input events

To: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question to console input events
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 11 Jan 2007 08:32:59 +0000
Delivery-date: Thu, 11 Jan 2007 00:32:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200701110904.26337.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acc1WxmIWEFAXqFOEdunnQANk04WTA==
Thread-topic: [Xen-devel] Question to console input events
User-agent: Microsoft-Entourage/11.3.2.061213
On 11/1/07 8:04 am, "Dietmar Hahn" <dietmar.hahn@xxxxxxxxxxxxxxxxxxx> 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>