From mboxrd@z Thu Jan 1 00:00:00 1970 From: sandesh Subject: Printing debug message from hypervisor Date: Tue, 10 Jun 2008 00:10:35 -0700 (PDT) Message-ID: <17749116.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, Iam trying to print some debug messages, from a hypercall function do_domctl by introducing some printk statemetnts. But nothing is getting into the log or the terminal. After exploring the code it seems like we cant directly use printk, because the guest checks the 'console I/O ring buffer after receving an event for the same from hypervisor ' . I chekced the functions of drivers/char/console.c and it has the funciton printk which is does generate the event for console I/O but the console.h does'nt include the prototype. So my question is how can i use it from domctl.c I have been stuck on this for a week now, so please give me some hints on this. Thanks, Sandesh -- View this message in context: http://www.nabble.com/Printing-debug-message-from-hypervisor-tp17749116p17749116.html Sent from the Xen - Dev mailing list archive at Nabble.com.