Hi, 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. Thanks. Dietmar. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 11/1/07 8:04 am, "Dietmar Hahn" <dietmar.hahn@fujitsu-siemens.com> 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@lists.xensource.com http://lists.xensource.com/xen-devel
Am Donnerstag, 11. Januar 2007 09:32 schrieb Keir Fraser:> On 11/1/07 8:04 am, "Dietmar Hahn" <dietmar.hahn@fujitsu-siemens.com> 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(). > > -- KeirHi Keir, many thanks for your hint! Now I understand the concept and my problem. Thanks. Dietmar. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel