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

[Xen-devel] Printing debug message from hypervisor

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Printing debug message from hypervisor
From: sandesh <sandesh.ahiremath@xxxxxxxxx>
Date: Tue, 10 Jun 2008 00:10:35 -0700 (PDT)
Delivery-date: Tue, 10 Jun 2008 00:10:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
 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.


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

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