[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Clock Interrupt not occurring. hypervisor_callback not being called.

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Ivan Kelly" <ivanbkelly@xxxxxxxxx>
  • Date: Tue, 28 Feb 2006 20:37:10 +0000
  • Delivery-date: Tue, 28 Feb 2006 20:37:38 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=hmmWcoHz3/wY17Q9Gdb20ccIg7KtsyeykRFbBwOfr9w4O1povuT0yr9u11QpUVQP0rdkZ8rX1f2s+KDGhGenFFm84zhshli+NrI9Mj11wJKlWcgaGsYFqc5PnVDT40xqi9lap7Qmdv2hHwozj6D/vqbZGnV12ZSvliPOz4lsYdY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Im having a strange problem with a hypervisor_callback that I have written.
Im setting up VIRQ_TIMER and have added a handler for it. The evtchn_mask bit, evtchn_pending bit, evtchn_upcall_mask, evtchn_upcall_pending and evtchn_pending_sel>>5 bit are all zeroed.
I have a loop running, outputting text to the console in the main thread of execution. When I run my kernel, this thread will run continuous, and never be interrupted by the evtchn handler. Im printing out the values of all the relevant fields(masks and pending etc) and they all seem to be set correctly, but nothing happens.
Curiously, when I add a print statement to the do_hypervisor_callback function, the callback seems to work correctly. Does anyone have any idea why this could be happening?
Best regards
Ivan Kelly
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.