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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Clock Interrupt not occurring. hypervisor_callback not b

To: Ivan Kelly <ivanbkelly@xxxxxxxxx>
Subject: Re: [Xen-devel] Clock Interrupt not occurring. hypervisor_callback not being called.
From: Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>
Date: 2006年2月28日 17:40:15 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年2月28日 22:35:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <eec2a0080602281237v5b86adb1rcfcfe98b29059b1e@xxxxxxxxxxxxxx>
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>
References: <eec2a0080602281237v5b86adb1rcfcfe98b29059b1e@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2
Have you tried making evtchn_pending and evtchn_mask volatile in
shared_info_t?
-Dave Winchell
Ivan Kelly wrote:
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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH 2/2] Add XML-RPC support to Xend , Anthony Liguori
Next by Date: [Xen-devel] Right time to migrate ? , jaikumar Ganesh
Previous by Thread: [Xen-devel] Clock Interrupt not occurring. hypervisor_callback not being called. , Ivan Kelly
Next by Thread: Re: [Xen-devel] Clock Interrupt not occurring. hypervisor_callback not being called. , Ivan Kelly
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /